private void get_dominio_modulo_local(string dominioid, string moduloid) { usuariomodulolocalWebBL BL = new usuariomodulolocalWebBL(); tb_usuariomodulolocal BE = new tb_usuariomodulolocal(); DataTable dt = new DataTable(); BE.usuar = Session["ssUsuar"].ToString(); BE.dominioid = dominioid; BE.moduloid = moduloid; try { dt = BL.GetAll3(Session["ssEmpresaID"].ToString(), BE).Tables[0]; cbo_local.DataSource = dt; cbo_local.DataValueField = "local"; cbo_local.DataTextField = "localname"; cbo_local.DataBind(); //get_constantesGen(cbo_dominio.SelectedValue, cbo_modulo.SelectedValue, cbo_local.SelectedValue); } catch (Exception ex) { ClientMessage(ex.Message); } }
private void get_TipoAlmac_local(string dominioid, string moduloid) { usuariomodulolocalWebBL BL = new usuariomodulolocalWebBL(); tb_usuariomodulolocal BE = new tb_usuariomodulolocal(); BE.usuar = Session["ssUsuar"].ToString(); BE.dominioid = dominioid; BE.moduloid = moduloid; try { //cbo_local.DataSource = BL.GetAll3(Session["ssEmpresaID"].ToString(), BE); //cbo_local.DataValueField = "local"; //cbo_local.DataTextField = "localname"; //cbo_local.DataBind(); ////**session local //cbo_local.SelectedValue = Session["ssLocal"].ToString(); } catch (Exception ex) { // ClientMessage(ex.Message); } }