private void btnTimKiem_Click(object sender, EventArgs e) { try { DataRow r = tblSinhVien.Select("MaSV ='" + txtTimKiem.Text + "'")[0]; DSSV.Position = tblSinhVien.Rows.IndexOf(r); } catch (Exception ex) { MessageBox.Show("Không Tìm Thấy"); } }