chairmanPC
Active member
- Joined
- Apr 19, 2021
- Messages
- 38
- Programming Experience
- 10+
All of the selection rows in a DataGridView are checked, and I'm trying to set them unchecked at startup.
This didn't work for me:
Any suggestion? Thanks.
This didn't work for me:
C#:
private void Form1_Load(object sender, EventArgs e)
{
DataGridViewCheckBoxColumn chkbox = new DataGridViewCheckBoxColumn();
chkbox.HeaderText = "Select";
chkbox.Name = "DGVChkBox";
selectedCriteriaData.Columns.Insert(2, chkbox);
chkbox.Selected = false;
}
Last edited by a moderator: