把报表当类引用 就可以实现了//弄了半天 谢谢大家
WebForExamAnalyse.CrystalReport1 CrystalReport11 = new WebForExamAnalyse.CrystalReport1();
CrystalReportViewer1.ReportSource = CrystalReport11;
CrystalReport1.cs //报表类
namespace WebForExamAnalyse
{
using System;
using System.ComponentModel;
using CrystalDecisions.Shared;
using CrystalDecisions.ReportSource;
using CrystalDecisions.CrystalReports.Engine;
public class CrystalReport1 : ReportClass {
public CrystalReport1() {
}
.............
WebForExamAnalyse.CrystalReport1 CrystalReport11 = new WebForExamAnalyse.CrystalReport1();
CrystalReportViewer1.ReportSource = CrystalReport11;
CrystalReport1.cs //报表类
namespace WebForExamAnalyse
{
using System;
using System.ComponentModel;
using CrystalDecisions.Shared;
using CrystalDecisions.ReportSource;
using CrystalDecisions.CrystalReports.Engine;
public class CrystalReport1 : ReportClass {
public CrystalReport1() {
}
.............
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货