1.使用SQL Server Business Intelligence Development Studio创建一个“报表服务器项目”。

2.在“共享数据源”上右键,“添加新数据源”,创建一个数据源。如下图1,2。

一步一步学习Reporting service——第一天 

       图1

一步一步学习Reporting service——第一天

       图2

3.从“工具箱”中拖一个表格控件到报表中,然后从数据集中把要显示的字段,一个一个拖到表格中的详细节中。

如图3。

一步一步学习Reporting service——第一天 

    图3

4.对表头设置排序。如图4,5

 一步一步学习Reporting service——第一天

   图4

 

一步一步学习Reporting service——第一天 

     图5

 

 

5.浮动表头设置,如图6。

 一步一步学习Reporting service——第一天

     图6

6.重复表头设置,如图7,8,9。

一步一步学习Reporting service——第一天

    图 7

 

一步一步学习Reporting service——第一天 

 图8

一步一步学习Reporting service——第一天 

 图9

 

7.在表尾中显示求和数据,如图10,11。

一步一步学习Reporting service——第一天 

  图10

一步一步学习Reporting service——第一天 

   图11

 

8.对数据进行分组,如图 12,13,14,15。

一步一步学习Reporting service——第一天 

 图12

一步一步学习Reporting service——第一天 

图13

一步一步学习Reporting service——第一天 

图14

一步一步学习Reporting service——第一天 

 图15


相关文章: