protected CrystalDecisions.Web.CrystalReportViewer CrystalReportViewer1;
ReportDocument ReportDoc;
private void Page_Load(object sender, System.EventArgs e)
{
// 在此处放置用户代码以初始化页面
ReportDoc = new ReportDocument();
ReportDoc.Load(Server.MapPath("myReport.rpt"));
解决登录错误问题
CrystalReportViewer1.ReportSource = ReportDoc;;
}
ReportDocument ReportDoc;
private void Page_Load(object sender, System.EventArgs e)
{
// 在此处放置用户代码以初始化页面
ReportDoc = new ReportDocument();
ReportDoc.Load(Server.MapPath("myReport.rpt"));
解决登录错误问题
CrystalReportViewer1.ReportSource = ReportDoc;;
}