public void StartBindingGroupOther(int id) { //formSubMenu.Visible = false; if (id <= 0) { return; } var result = OtherDAL.GetAllGroup(id); if (result.Code < 0) { lbError.InnerText = result.ErrorMessage; lbError.Visible = true; return; } lbError.Visible = false; try { ddlSubMenu.DataSource = result.Data; ddlSubMenu.DataValueField = "Id"; ddlSubMenu.DataTextField = "Name_VN"; //--- ddlSubMenu.DataBind(); } catch (Exception ex) { _log.Error(ex.ToString()); lbError.InnerText = ex.Message; lbError.Visible = true; } }