OleDbDataAdapter command1 = new OleDbDataAdapter("Select * From [" + listSheetNames[0] + "]", connection);<br /> OleDbDataAdapter command2 = new OleDbDataAdapter("Select * From [" + listSheetNames[1] + "]", connection);<br /> OleDbDataAdapter command3 = new OleDbDataAdapter("Select * From [" + listSheetNames[2] + "]", connection);
if (listSheetNames[3] == "orange")<br /> {<br /> command4 = new OleDbDataAdapter("Select * From [" + listSheetNames[3] + "]", connection);<br /> command4.Fill(dataSet4);<br /> lstDS.Add(dataSet4);<br /> }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)