cityzen

cityzen

  • NA
  • 2
  • 0

Reading Excel using ADO.NET

Nov 1 2005 4:19 AM
Hello, I have a requirement to read data from some spreadsheets given to us by a client in a very paticular format. Basically there is only a subset of each sheet that I need to read and I was wondering if there was any straightforward way to do this using ADO. The spreadsheet's column names are in the second row of data rather than the first and while the data extends for over 100 columns, I only want to read the first 55 columns. I won't know in advance how many rows I have to read. So basically I want to ignore the first row, ignore the last 50-ish columns but read the remaining data. Any help/pointers would be very much appreciated. Thanks, Keith.

Answers (1)