I use following code to fill a datagrid with a check box column.But the datagrid is filled with empty rows correspondind to the number of rows in the DataView.Please help me.
This is the function i use to fill the grid with dataview.
private void PopulateGrid(DataView oDV)
{
DataTable dt=new DataTable("General_PB");
dt.Columns.Add(new DataColumn("Name", typeof(int)));
dt.Columns.Add(new DataColumn("Number", typeof(int)));
dt.Columns.Add(new DataColumn("Select", typeof(bool)));
for(int i=0;i