How to figure out how many rows & columns per row

Feb 21, 2011 at 6:47 PM

Hi

I want a user to upload a file and I want to go row by row and extract the data. I am wondering how can I do this. I don't see any row.Count() so I don't know how many times to make

my loop.

What should I be using?

Editor
Feb 21, 2011 at 6:52 PM

Use rows.dimension or try with linq. Look at sample´s project.

Feb 21, 2011 at 7:05 PM
mrxrsd wrote:

Use rows.dimension or try with linq. Look at sample´s project.

I have been but what I been looking has seemed to be a hardcoded times it goes through the rows. Nothing on the fly. What example should I be looking at?

 

Editor
Feb 21, 2011 at 7:18 PM

http://epplus.codeplex.com/SourceControl/changeset/view/73449#1434206