C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class > GetData Method : GetData(Int32,Int32) Method |
'Declaration
Public Overloads Overridable Function GetData( _ ByVal row As Integer, _ ByVal col As Integer _ ) As Object
'Usage
Dim instance As C1FlexGridBase Dim row As Integer Dim col As Integer Dim value As Object value = instance.GetData(row, col)
The GetData(Int32,Int32) method returns the raw data stored in a specific grid cell. It is equivalent to using the grid's indexer. For example:
object foo = flex.GetData(1, 1); object bar = flex[1, 1]; // same thing
The data displayed on the grid might be different from the raw data, depending on the setting of the RowCol.Format and RowCol.DataMap properties. To obtain the display value (which is always a string), use the GetDataDisplay(Int32,Int32) method instead.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2