private void btn_xoa_Click(object sender, System.EventArgs e) { if (txt_matt.Text.Length > 0) { dal.Delete_TTxe(txt_matt.Text.Trim()); BindDataGridView(); ResetControl(); btn_xoa.Enabled = false; btn_sua.Enabled = false; } }
public bool Delete_TTxe(string ma_tt) { return(ttxe.Delete_TTxe(ma_tt)); }