c# - Refreshing the checkbox within the datagrid -


O friends, I have a problem refreshing the checkbox with the data grid. Although I click the Refresh button, all the checkboxes are clear, but the checkbox that was finally clicked is still being checked. The code I used to use is:

  Private Zero cmbrefresh_Click (Object Sender, EventErgus E) {ClearField (); Btncontrols (); Chkbranches.Checked = false; Gridviewholiday.Refresh (); Gridviewholiday.ClearSelection (); Chkbranches.Checked = false; For (int i = 0; i! = Gridviewholiday.Rows.Count; i ++) {gridviewholiday [0, i] .Value = null; }}    

You can view this link. Http: //www.asp Net / Data-Access / Tutorial / AD-A-Gridview-Column-of-Check Box-CS

Comments