Hi,
I have a wingrid in read-only mode and it's bind to a datatable. I want to change the cell text to a string for a column which is of int datatype.How can I do that?.
For example
if the cell value/ text from datatable is 0 or 1. then I want to change the cell text to a string "windows" or "sql". Right now when i do that am getting an error as "Unable to convert System.String to System.Int32."
Appreaciate your help. Thanks!!
Set up a ValueList on your column, which will map your underlying data (integers, in this situation) to the strings you want display.
The following article from our online help documentation of NetAdvantage for .NET 2008 Volume 3 provides one way to set up a ValueList:Populating a ValueList