Quantcast
Channel: Excel Data Reader - Read Excel files in .NET
Viewing all articles
Browse latest Browse all 448

New Post: Examples? Direct cell access?

$
0
0
I think you have two options.
  1. Use datasets but specify reader.IsFirstRowAsColumnNames = false so that the whole sheet is the contents of the dataset.
    Then in your example for row 10 column 3 you would have ds.Tables[0].Rows[9][2]
  2. Use the IDataReader interface and step through until you get to row 10 then read the value for field 3

Viewing all articles
Browse latest Browse all 448

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>