Click to See Complete Forum and Search --> : GridView DataFormatString Question


Anti-Rich
August 30th, 2007, 02:25 AM
Hello Everyone,

On my GridView I have a True/False Column and I was wondering if it was possible to convert this to Yes/No Values instead? I looked into DataFormatString, but I couldnt find one that matched my requirements. If anyone has any suggestion, I would be extremely grateful...

Thanks! :)

Regards
Adam

jasonli
September 7th, 2007, 10:58 AM
Convert the column to TemplateField, and insert Label control into ItemTemplate. Code behind to show Yes/No based on data.

Assuming you are developing web site by VS2005.