private void btnXoa_Click(object sender, EventArgs e) { try { DSNCC.RemoveAt(DSNCC.Position); daNCC.Update(tblNCC); tblNCC.AcceptChanges(); MessageBox.Show("Xoá thành công!"); } catch { tblNCC.RejectChanges(); MessageBox.Show("Xoá thất bại!!!"); } }