把报表当类引用  就可以实现了//弄了半天 谢谢大家
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() {
        }
.............