for (int row = 1; row <= 10; row++)
{
for (int column = 1; column <= 5; column++)
{
string text = worksheet[row, column].DisplayText;
}
} |
Property |
Details |
DisplayText |
Returns cell value with its number format. Please refer below documentation to know more about DisplayText property.
|
Text |
Returns cell value when the cell type is String. Otherwise returns Null. Please refer below link to know more about Text property.
|
Value |
Returns cell value without it’s number format. Please refer below link to know more about Value property
|