Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: Using foreach to deal with Excel rows...

$
0
0
I have seen examples like
var wb = new XLWorkbook(Filename);
var ws = wb.Worksheets.First();
var range = ws.RangeUsed();

foreach(var row in range.Rows())
{

}
The problem is there isn't such overload for Rows(). All overloads require parameters.
Error 1 No overload for method 'Rows' takes '0' arguments

How can I use foreach to deal with the excel rows?

Thanks

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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