if (!IsPostBack) { string reportServerURL = @"http://localhost/ReportServer"; string reportPath = @"/Reports/PFContributionReport"; rptvw.ProcessingMode = ProcessingMode.Remote; rptvw.ServerReport.ReportServerUrl = new Uri(reportServerURL); rptvw.ServerReport.ReportPath = reportPath; ReportParameter[] param = new ReportParameter[1]; param[0] = new ReportParameter("@useraccountid", Session["LogedUser"].ToString()); rptvw.ServerReport.SetParameters(param); rptvw.ServerReport.Refresh(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)