protected void LoadCategories() { ARC arc = ArcBAL.GetArcInfoByUserId(new Guid(Session[enumSessions.User_Id.ToString()].ToString())); if (arc == null) { string script = "alertify.alert('" + ltrUser.Text + "');"; ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "alert", script, true); return; } List <CategoryDTO> categories = CategoryBAL.GetCategoriesByArcId(arc.ARCId); dtCategories.DataSource = categories; dtCategories.DataBind(); }