This method returns the value of a particular cell based on the row and column for a particular worksheet.
Namespace:
Abh.Core.Excel2k7
Assembly:
Abh.Core.Excel2k7 (in Abh.Core.Excel2k7.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public static string GetCellValue(
int row,
int column,
_Worksheet worksheet
) |
| Visual Basic (Declaration) |
|---|
Public Shared Function GetCellValue ( _
row As Integer, _
column As Integer, _
worksheet As _Worksheet _
) As String |
| Visual C++ |
|---|
public:
static String^ GetCellValue(
int row,
int column,
_Worksheet^ worksheet
) |
Parameters
- row
- Type: System..::.Int32
Pass the row in which the cell is located.
- column
- Type: System..::.Int32
Pass the column in which the cell is located.
- worksheet
- Type: _Worksheet
The worksheet to find the cell in.
Return Value
This method returns an object of type string with the value of the cell. If empty null is returned.
See Also