Hi,
How can I set a null value to an cell.
Regards,
Ceaser
Once you have a reference to the cell, assign DbNull.Value to its Value property, like so:
this.ultraGrid.Rows[0].Cells[0].Value = DBNull.Value;
If there is more to this, please provide us with some additional details, and we will try to help.
I have tried this but some occasion it is working and some times giving exception as string format is not correct.
I am using a valuelist for this cell and this value list will change at runtime (With respect to another cell in this same row).
When I need to set null, first I remove the valuelist from the grid and add null to the cell.