I am trying to ascertain whether a cell has any user entered value or not. This is what I wrote, but this doesnt seem to be the right way of doing it.
If Me.GridDataBoundGrid1(row, col).HasText Then
ADAdministrator Syncfusion Team November 15, 2002 12:32 PM
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
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