i tried as follows
dataGridView1.Columns.RemoveAt(12);
i mentioned the index of checkbox and its worked.
Thanks All
exactly Mr jmcilhinney :-p , but i have to execute again and again with new inputs :-( this is the requirement :-) anyway i have solved this :-)
i have created datagridview dynamically with check box column,once i refresh my datagrid its removes all data except checkbox column,below code for adding checkbox column in datagrid
DataGridViewCheckBoxColumn chk = new DataGridViewCheckBoxColumn();
dataGridView1.Columns.Add(chk)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.