Exemple #1
0
        private void LoadComboBox()
        {
            OrganizationBL  oOrganizationBL    = new OrganizationBL();
            OperationResult objOperationResult = new OperationResult();
            var             _DocType           = _objDataHierarchyBL.GetDataHierarchyForCombo(ref objOperationResult, 106);

            Utils.LoadDropDownList(ddlDocType, "Description", "Id", _DocType, DropDownListAction.Select);
            Utils.LoadDropDownList(ddlSexType, "Value1", "Id", _objSystemParameterBL.GetSystemParameterForCombo(ref objOperationResult, 100), DropDownListAction.Select);
            Utils.LoadDropDownList(ddlEmpresaCliente, "Value1", "Id", oOrganizationBL.GetAllOrganizations_(ref objOperationResult), DropDownListAction.Select);
        }