OleDbDataAdapter missing data.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using an OleDbDataAdapter to read an Excel spreadsheet. It appears that the first row returned by OleDbDataAdapter is the second row of the worksheet. Am I doing something wrong ? What happened to the first row ?
 
I believe there's a setting in the connection(connection string) that you can specify to ignore the first row as the column header row. You might have set that

Suresh

----- Ginger wrote: ----

I am using an OleDbDataAdapter to read an Excel spreadsheet. It appears that the first row returned by OleDbDataAdapter is the second row of the worksheet. Am I doing something wrong ? What happened to the first row ?
 
Back
Top