111,120
社区成员
发帖
与我相关
我的任务
分享private void Form1_Load(object sender, EventArgs e)
{
for (int i = 0; i < this.dataGridView1.ColumnCount; i++)
{
DataGridViewCheckBoxCell aa = new DataGridViewCheckBoxCell();
aa.Value = true;
this.dataGridView1.Rows[2].Cells[i] = aa;
}
}