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