We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Datagrid

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
Loader.
Live Chat Icon For mobile
Up arrow icon