dataGridView1.Rows[i].Cells[j].Value为null了
或者dataGridView1.Rows[i].Cells[j]为null
修改为:
for(intj=0;j<dataGridView1.Rows[i].Cells.Count;j++)
{
stringstr123=Convert.ToString(dataGridView1.Rows[i].Cells[j].Value);
dataGridView1.Rows[i].Cells[j].Value为null了
或者dataGridView1.Rows[i].Cells[j]为null
修改为:
for(intj=0;j<dataGridView1.Rows[i].Cells.Count;j++)
{
stringstr123=Convert.ToString(dataGridView1.Rows[i].Cells[j].Value);
免责声明:本站发布的游戏攻略(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场。
如果本文侵犯了您的权益,请联系站长邮箱进行举报反馈,一经查实,我们将在第一时间处理,感谢您对本站的关注!