private void btnDelete_Click(object sender, EventArgs e) { try { String error = "0"; positionBLL.Delete(txtPositionID.Text, out error); if (error == "0") {// update control DisplayNotify("Xóa dữ liệu thành công", 1); dgvData.DataSource = positionBLL.GetAllPosition(); } else { DisplayNotify(error, -1); } } catch (Exception ex) { DisplayNotify("Lỗi Xóa dữ liệu không thành công", -1); } }