Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Datagridview Checkbox Show value "F" as unchecked, "T" as checked

$
0
0

Hi folks,

I have a datagridView on my form.

One of the columns that is bound to either has "T" or "F". I want to use a DataGridViewCheckBoxColumn in the grid but when I try it,  I am getting error message:

System.FormatException: F is not a valid value for Boolean...Makes senese I suppose

Is there an easy way around this ?

J


jppnn


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>