I'm filling a datatable from an SQL datareader then..
I've created a datacolumn with value boolean(checkbox) in my data table:
DataTable cDataTable= new DataTable();
DataColumn a = new DataColumn("Select", typeof(bool));
cDataTable.Columns.Add(a);
This add's the checkbox to every row however the checkbox isn't editable
This DataTable is then appended to an ASP GridView:
gridView.DataSource = cDataTable;
I've tried
a.ReadOnly = false;
However this doesn't work either.. i've been reading and it's possible datatables aren't editable after they're filled..
Is there a way to make this check box editable?
