if (!(Request.QueryString["rpt"]==null)) { m_currentReport = Request.QueryString["rpt"].ToString(); showReport(m_currentReport); }
}
privatevoid showReport(string sReportPath) {
// Set Processing Mode ReportViewer1.ProcessingMode = ProcessingMode.Remote;
// Set Report Server and path ReportViewer1.ServerReport.ReportServerUrl =new Uri(http://localhost/ReportServer); ReportViewer1.ServerReport.ReportPath = sReportPath;