这段代码为何运行通不过
If Not IsDBNull(DataGridView1.CurrentCell.Value) Then' Return
' txtId.Text = DataGridView1.CurrentRow.Cells("Id").Value.ToString().Trim()
' txtName.Text = DataGridView1.CurrentRow.Cells("name").Value.ToString().Trim()
'End If