就是水晶报表的推模式,你看了下面阿泰的教程自然就清楚了
http://topic.csdn.net/u/20081118/10/49A1751D-1D86-44E4-969F-A847C2316DD3.html

解决方案 »

  1.   

                    string str_select = string.Format("");                string str = Server.MapPath("StockCard.rpt");//rpt文件名字                StockCard ds1 = new StockCard();//数据源xsd
                    OdbcDataAdapter da1 = new OdbcDataAdapter(str_select, conn);                conn.Close();
                    ReportDocument rpt = new ReportDocument();
                    rpt.Load(str);
                    da1.Fill(ds1, "table");
                    rpt.SetDataSource(ds1.Tables["table"]);
                    this.StockCardView.ReportSource = rpt;
    前几天自己刚学了一点
    代码贴出来你也看看