111,129
社区成员
发帖
与我相关
我的任务
分享for (int j = 1; j < 100; j++)
{
if (Convert.ToBoolean(dataGridView1.Rows[1].Cells[j - 1].Value = null))
{
dataGridView1.Rows[i - 1].Cells[j - 1].Value=12;
}
else
{
//否则进入下一次循环?
}
}