column headings in DataTable

gallicus

Member
Joined
Dec 31, 1969
Messages
15
Location
at work... probably :-(
Hi,

I populate a DataSet with an OleDbDataAdapter object (the source is an excel spreadsheet)

objAdapter1.Fill(objDataset1);

Any ways this works with no problems. But somewhere along the line the first row of excel cells are made into the column headings of the datatable of the dataset. I want to be able to choose if the first row of cells get made into the column heading, is this possible?
 
Back
Top