public void Page_Load(object sender, EventArgs args) { site = SiteBll.GetSessionSite(); contractor_id = Request["cid"].TryToLong(); var dp_case = CaseBll.GetCasesByContractorId(contractor_id, 0, 50); cases = dp_case.Table.Populate <Case>(); tdks = SeoBll.GetTDKbyPage("zxgsxq-jdal.aspx", Request["cid"]).Table.Populate <SeoBll.Seo>(); contractorsList4global = ContractorBll.GetAllContractors(0, 500).Table.Populate <Contractor> (); }
public void Page_Load(object sender, EventArgs args) { site = SiteBll.GetSessionSite(); the_case = CaseBll.GetCaseByCaseId(Request["case_id"].TryToLong()); imgs = the_case.imgs.Split('?'); contractor_id = the_case.contractor_id; contractor = ContractorBll.GetContractorByContractorId(contractor_id); var dp_case = CaseBll.GetCasesByContractorId(contractor_id, 0, 20); cases = dp_case.Table.Populate <Case>(); tdks = SeoBll.GetTDKbyPage("zxgsxq-jdal-xq.aspx", Request["case_id"]).Table.Populate <SeoBll.Seo>(); contractorsList4global = ContractorBll.GetAllContractors(0, 500).Table.Populate <Contractor> (); }
public void Page_Load(object sender, EventArgs args) { site = SiteBll.GetSessionSite(); contractor = ContractorBll.GetContractorByContractorId(Request["cid"].TryToLong()); contractor.address = contractor.address.Replace("\r\n", "<br/>"); var dp_case = CaseBll.GetCasesByContractorId(contractor.contractor_id, 0, 4); cases = dp_case.Table.Populate <Case>(); tdks = SeoBll.GetTDKbyPage("zxgsxq.aspx", Request["cid"]).Table.Populate <SeoBll.Seo>(); designers = DesignerBll.GetDesignersByContractorId(contractor.contractor_id, 4); workers = WorkerBll.GetWorkersByContractorId(contractor.contractor_id, 4); contractorsList4global = ContractorBll.GetAllContractors(0, 500).Table.Populate <Contractor> (); }