コード例 #1
0
        public void setGroupCompanyDetails(int groupcompanyid)
        {
            OrgService.OrganizationServiceClient organizationServiceClient = new OrgService.OrganizationServiceClient();

            string  xmlData = organizationServiceClient.getParticularGroupCompaniesList(groupcompanyid);
            DataSet dataSet = new DataSet();

            dataSet.ReadXml(new StringReader(xmlData));
            if (dataSet.Tables.Count > 0)
            {
                System.Web.HttpContext.Current.Session["GroupCompanyName"] = Convert.ToString(dataSet.Tables[0].Rows[0]["Company_Name"]);
            }
        }