WinForm-判断DataGridView某一单元格是空

if (dataGridView1.Rows[0].Cells[0].Value == DBNull.Value)
{
   //...
} 

 

posted @ 2021-12-27 09:58  ꧁执笔小白꧂  阅读(217)  评论(0)    收藏  举报