Exemplo n.º 1
0
        private string bindCompany(int orgID)
        {
            Organization       org       = new Organization();
            OrganizationHelper orgHelper = new OrganizationHelper();
            DataSet            dsCompany = orgHelper.getOrganizationHier(orgID);

            UtilityHelper utilityHelper = new UtilityHelper();

            dsCompany = utilityHelper.ConvertNullsToEmptyString(dsCompany);
            string xmlCompany = dsCompany.GetXml();

            return(xmlCompany);
        }
Exemplo n.º 2
0
        private string bindGroupCompany(int orgID)
        {
            OrganizationHelper orgHelper      = new OrganizationHelper();
            DataSet            dsOrganization = orgHelper.getOrganizationHier(orgID);
            UtilityHelper      utilityHelper  = new UtilityHelper();

            dsOrganization = utilityHelper.ConvertNullsToEmptyString(dsOrganization);


            string xmlOrganization = dsOrganization.GetXml();

            return(xmlOrganization);
        }