水晶报表过滤数据 就是水晶报表的推模式,你看了下面阿泰的教程自然就清楚了http://topic.csdn.net/u/20081118/10/49A1751D-1D86-44E4-969F-A847C2316DD3.html 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 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;前几天自己刚学了一点代码贴出来你也看看 asp.net调用dll引用 scriptmanager ambiguous 眩晕的googleapi 一个GridView中的简单问题求解!!!! DataList里的信息过滤这个怎么实现 c# 用存储过程 插入 datetime空字段 asp.net自定控件设计时不能显示图片 初学问题请帮忙! 问题求教 ISAPI过滤器IIS6.0及VS 2005问题 如何连接as400? 那位知那里有纯正的的xp下载阿 WEB 登入按钮回车键 没效果
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;
前几天自己刚学了一点
代码贴出来你也看看