4,815
社区成员




ReportDocument rd = new ReportDocument();
rd.Load(Server.MapPath("CrystalReport.rpt"));
CrystalReportViewer1.ReportSource = rd;
//增加下面两行语句
//跳到最后一页,这个动作后将显示所有页码
CrystalReportViewer1.ShowLastPage();
//然后再跳回第一页
CrystalReportViewer1.ShowFirstPage();