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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top