string sql = "select * from table1"; 
        DataSet ds = new DataSet(); 
        ds = db.GetDataSet(sql);
        ReportDocument doc = new ReportDocument(); 
        doc.Load(Server.MapPath("CrystalReport.rpt")); 
        doc.SetDataSource(ds.Tables[0]);
        CrystalReportViewer1.ReportSource = doc; 
//问题有2
//1.显示没有问题,但是点击自带的导出的时候 网页就成空白了
//2.怎么让自带的打印也启作用啊