我的 datagridview 有一个参数 outofrangeexception。
我试着填满它。当 i = 1 时停止;
我不知道我的错误在哪里,但不是数组donnee[,]
这是我的代码
for(int i = 0; i < donnee.Length/4; i++){
dataGridView1.Rows[i].Cells[0].Value = donnee[i,0];
dataGridView1.Rows[i].Cells[1].Value = donnee[i,1];
dataGridView1.Rows[i].Cells[2].Value = donnee[i,2];
dataGridView1.Rows[i].Cells[3].Value = donnee[i,3];
}//REMPLIR DATAGRIDVIEW
谢谢