KiR*_*iRa 1 c# vb.net datagridview winforms
我正在学习,Windows Visual C#所以我对此很陌生。我有我的 DataGridView 的单元格单击事件的代码
 private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
    {
      con.  ID = Convert.ToInt32(dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString());
      txtname.Text = dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString();
      txtlname.Text = dataGridView1.Rows[e.RowIndex].Cells[2].Value.ToString();
    }
问题是: 即使我单击 DataGridView 多少次,它也不会触发我的断点。如何解决这个问题?
| 归档时间: | 
 | 
| 查看次数: | 3871 次 | 
| 最近记录: |