It is not possible to read data using Reader. Instead, you can loop through the worksheet data and access each cell value. Here is the sample code to loop through the worksheet data and access the cell value using DisplayText property. C# int columnCount = 10; int rowCount = 90; for (int i = 0; i < columnCount; i++) { for (int j = 0; j < rowCount; j++) { var str_value=worksheet.Range[i, j].DisplayText; } }
|
This page will automatically be redirected to the sign-in page in 10 seconds.