Boolean True/False to Yes/No
Hi all,
I'm trying to format a Visual Basic 2003 datagrid for a windows app not asp. this is my format.
column = New DataGridTextBoxColumn
column.MappingName = "Paid"
column.HeaderText = "Paid"
column.Width = 65
TableStyle.GridColumnStyles.Add(column)
This works perfect.
With my cost column I add the following line so the datagrid know it's a currency column.
column.Format = "c"
Is there a line like the one above for boolean so that my Paid column reads Yes or No instead of True or False.
I have also tried column.Format = "Yes/No" but this does not work either.
Thanks
Pete*
__________________
Simplicity is the key
|