Example #1
0
        private string bindDefaultIndustryType(int CompID)
        {
            string xmlCompaniesList = "";

            try
            {
                OrganizationHelper OrganizationHelper = new OrganizationHelper();
                DataSet            dsCompanies        = OrganizationHelper.getDefaultIndustryType(CompID);
                UtilityHelper      utilityHelper      = new UtilityHelper();
                dsCompanies      = utilityHelper.ConvertNullsToEmptyString(dsCompanies);
                xmlCompaniesList = dsCompanies.GetXml();
            }
            catch (Exception ex)
            {
                //log.ErrorException("Error occured", ex);
                log.Error("Error Occured");
            }
            return(xmlCompaniesList);
        }