protected void TreeListOrganization_NodeDeleting(object sender, DevExpress.Web.Data.ASPxDataDeletingEventArgs e) { try { var key = (int)e.Keys[0]; var trl = new DM_DVQLY { IDMA_DVIQLY = key }; _DM_DVQLY.DeleteDM_DVQLY(trl); } catch (Exception) { throw new Exception("Dữ liệu này không thể xóa!"); } _DataBind(); e.Cancel = true; }