dataGridView的单元格两种引用方式
一种是使用编号引用
另外一种是使用名称引用
this.dataGridView_ChuanGQ.Rows[0].Cells[6].Value = DateTime.Now.ToString();
this.dataGridView_ChuanGQ.Rows[0].Cells["Column_BeiZ1"].Value = DateTime.Now.ToString()+"时间";
2020年3月11日
特此记录以防忘记