110,538
社区成员
发帖
与我相关
我的任务
分享
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
{
if (e.RowIndex >= 0)
{
if (dataGridView1.CurrentRow.Cells["名字"].Value == "李四")
{
MessageBox.Show("李四");
}
}
}