Excel - oleDB - DataSet

  • Thread starter Thread starter bob horn
  • Start date Start date
B

bob horn

Using ole I read the sheet into a dataset, but the first row is missing when
I iterate through "foreach"... row and "foreach"...column.
 
Post the code, but if I remember well you have to specify somewhere
if the first row are the field headers or the first row of the data.

RBS
 
bob horn said:
Using ole I read the sheet into a dataset, but the first row is missing when
I iterate through "foreach"... row and "foreach"...column.

Found problem myself. Needs ";HDR=No" at the end of the connection string!!!
 

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