各位大侠,
我用sql report services 做好了的報表發布到網站後,我怎麼在asp.net中用reportview來顯示出這些報表呢?
在網上找到的資料,ReportViewer1.ProcessingMode = ProcessingMode.Remote;
ReportViewer1.ServerReport.ReportServerUrl = new Uri
("http://masaccount.gnway.net:86/Reports$SQLExpress");//這裏的ReportServerUrl到底應該寫哪個地址
ReportViewer1.ServerReport.ReportPath = "/ReportingServericSample/Chart1";//reportPath又應該是哪個字串 ReportViewer1.ServerReport.Refresh();反正我這樣寫,是錯誤的,有誰能告訴我,該怎麼樣做,明天老板要了
我用sql report services 做好了的報表發布到網站後,我怎麼在asp.net中用reportview來顯示出這些報表呢?
在網上找到的資料,ReportViewer1.ProcessingMode = ProcessingMode.Remote;
ReportViewer1.ServerReport.ReportServerUrl = new Uri
("http://masaccount.gnway.net:86/Reports$SQLExpress");//這裏的ReportServerUrl到底應該寫哪個地址
ReportViewer1.ServerReport.ReportPath = "/ReportingServericSample/Chart1";//reportPath又應該是哪個字串 ReportViewer1.ServerReport.Refresh();反正我這樣寫,是錯誤的,有誰能告訴我,該怎麼樣做,明天老板要了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货