标签:style blog http color ar strong 数据 sp 2014
在上篇的博客中,报表中显示的数据是整张表的数据。
我们要实现的是显示某个时间段的数据,设计如下:添加两个DateTimePicker控件和一个Button控件。
界面如下:
1.修改程序集内sql语句:
改为:
点击查询生成器:
2编写代码:点击完成,原有的代码就会显示出错,确实date1,date2参数
修改如下:
编写"刷新报表"按钮代码。
3显示结果:第一个为窗体加载时,第二个为刷新时。
标签:style blog http color ar strong 数据 sp 2014
原文地址:http://blog.csdn.net/u010928364/article/details/39808995