AD
Administrator
Syncfusion Team
February 3, 2006 11:59 AM UTC
Hi Keyur,
You can use the CurrentCellValidating event for validating the cell value. Here is the code snippet.
private void gridDataBoundGrid1_CurrentCellValidating(object sender, System.ComponentModel.CancelEventArgs e)
{
GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
if(cc.Renderer.ControlText == "")
cc.Renderer.ControlValue = System.DBNull.Value;
}
Let us know if you need further assistance,
Regards,
Madhan.