Hi!
I have a webgrid which has a column of type integer. Basically the column stores boolean values (though the data type is int).
I wish to display the text 'True' for 1 and 'False' for 0. Currently i loop through the rows and set the text property my self.
Is there some other more efficient way to acheive this without having to loop through the rows. Somehting using column format, etc.
Thanx,
Ahmad
Set a ValueList on the column and have your valueList members set the Text for a given value.
I have the issue, a bound system.int32 column that I need to display text based on the value.
I have tried and tried setting the ValueList but I can't get it to work. It sounds simple enough but I must be missing something. Could you please tell me exactly what needs to be set on the column properties? I've spent hours trying different setting and reading through the forum, I always end up with the numeric value displayed.