We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Detecting cell's value

Thread ID:

Created:

Updated:

Platform:

Replies:

1622 Nov 15,2002 01:18 PM UTC Nov 15,2002 05:32 PM UTC Windows Forms 1
loading
Tags: GridControl
jyotsna
Asked On November 15, 2002 01:18 PM UTC

Hi, 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 (Do Something) Thanks Jots

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;