コード例 #1
0
        private void CrearDropDownListTipo(string id, Panel _panel)
        {
            DropDownList miDropDownList = new DropDownList();

            miDropDownList.CssClass = "form-control";

            miDropDownList.ID = id;

            ControlesDinamicos.CrearDropDownList(id, _panel, miDropDownList);

            ControlesDinamicos.Llenar_DropdownList_Inspecciones(miDropDownList);

            _panel.Controls.Add(miDropDownList);
        }
コード例 #2
0
        private void CrearDropDownListArea(string id, Panel _panel)
        {
            int IdSucursal = Mgr_Sucursal.Set_IdSucursalDDl(ObjUsuario, ddlSucursal);

            DropDownList miDropDownList = new DropDownList();

            miDropDownList.CssClass = "form-control";

            miDropDownList.ID = id;

            ControlesDinamicos.CrearDropDownList(id, _panel, miDropDownList);

            Mgr_Area.List_Area_Sucursal(miDropDownList, IdSucursal);

            _panel.Controls.Add(miDropDownList);
        }