private List <ReportParameter> RptParameters1() { CustomProfile profile = CustomProfile.GetProfile(); List <ReportParameter> parameters = new List <ReportParameter>(); mCompany compdetails = new mCompany(); iCompanySetupClient compclient = new iCompanySetupClient(); compdetails = compclient.GetCompanyById(profile.Personal.CompanyID, profile.DBConnection._constr); // parameters.Add(new ReportParameter("CompName", compdetails.Name)); //parameters.Add(new ReportParameter("CompAdd", compdetails.AddressLine1)); //parameters.Add(new ReportParameter("FromDt", Session["FromDt"].ToString())); //parameters.Add(new ReportParameter("ToDt", Session["ToDt"].ToString())); //parameters.Add(new ReportParameter("ReportHeading", Session["ReportHeading"].ToString())); //parameters.Add(new ReportParameter("Generator", Session["Generator"].ToString())); // parameters.Add(new ReportParameter("CompLogo","../MasterPage/Logo/" + compdetails.LogoPath)); return(parameters); }