J
Jim Heavey
If I have a datagrid in which a field is bound to a particular field in a
datatable which is of a "bool" type. If I want the datagrid to show "Yes"
and "No" based upon if the bool field is true or false, how can I do this?
The only solution I can come up with is to build a datatable and create a
new column which would a value which I would place "yes" or "no" into that
column based upon the value of the bool and then bind to that new
datacolumn. Is there a better approach?
datatable which is of a "bool" type. If I want the datagrid to show "Yes"
and "No" based upon if the bool field is true or false, how can I do this?
The only solution I can come up with is to build a datatable and create a
new column which would a value which I would place "yes" or "no" into that
column based upon the value of the bool and then bind to that new
datacolumn. Is there a better approach?