AD
Administrator
Syncfusion Team
November 15, 2002 05:32 PM UTC
It depends where/when you are trying to access a grid value. As long as the cell is not being actively edited, you can use code such as
Dim myValue as Object = Me.GridDataBoundGrid1(row, col).CellValue
If Not myValue Is Nothing Then
......
End If
But if you are actively editing the cell, you need to get the value from the CurrentCell.Renderer.ControlText.
Dim value as String = Me.GridDataBoundGrid1.CurrentCell.Renderer.ControlText