110,539
社区成员
发帖
与我相关
我的任务
分享
for (int i = 0; i < dataGridView1.Rows.Count; i++)
{
string hm = dataGridView1.Rows[i].Cells["号码"].Value.ToString().Trim();
string zt = dataGridView1.Rows[i].Cells["状态"].Value.ToString().Trim();
if (zt == "否")
{
}
MessageBox.Show(hm.ToString(), "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
}