In my datbase(mysql) i a have a certain table that containts a column with/ zero’s and one’s,
When i load this into my table and append this table to my datagridview i get a nice column with one’s and zero’s.
No problem there.
But i want to change the column type to checkbox column but i have no idea how to do that.
I have tried to change to column datatype of my datatable, also i tried to change the column type of my datagriview mut nothing seems to work…
Iam using C#.net and Mysql
Can anyone please advice me in this matter?
Thanks in advance
You can add
DataGridViewCheckBoxColumnto yourDataGridView: Properties-Columns. Then in properties of that column you can setFalseValueto 0 for example andTrueValueto 1. You can do all that in VS designer.