aspx get values from query string on page load c# code example
Example 1: how to read reportview query string asp.net c#
protected void Page_Load(object sender, EventArgs e)
{
....
ReportViewer1.ServerReport.ReportPath = _myReportPart;
ReportViewer1.ServerReport.ReportServerUrl = new Uri(myReportServerUrl);
}
}
Example 2: how to read reportview query string asp.net c#
ReportParameter rpt7 = new ReportParameter(**PARAMETER NAME**, **VALUE**);
this.ReportViewer1.ServerReport.SetParameters(new ReportParameter[] { rpt7 });