0
我有一個帶有ReportViewer
控件的ASP.NET Web窗體的ASP.NET MVC 4應用程序。我正在使用實體框架。在ASP.NET中按月份和年份分組的RDLC報告
我想,以顯示與訂單(ID,DATE_ADD,名稱,數量,價格)
1 | 2011-12-08 | apples | 4 | 0.99
2 | 2012-01-07 | oranges | 20 | 1.39
4 | 2012-03-04 | plumes | 80 | 1.59
5 | 2012-05-01 | apples | 15 | 0.89
6 | 2012-05-03 | pears | 10 | 1.29
7 | 2012-05-09 | oranges | 18 | 1.49
我希望我的報告看起來像這樣的表:
December - Sum(price for dec 2011)
1 | 2011-12-08 | apples | 4 | 0.99
2011 - Sum(price for 2011)
January - Sum(price for jan 2012)
2 | 2012-01-07 | oranges | 20 | 1.39
March - Sum(price for mar 2012)
4 | 2012-03-04 | plumes | 80 | 1.59
May - Sum(price for may 2012)
5 | 2012-05-01 | apples | 15 | 0.89
6 | 2012-05-03 | pears | 10 | 1.29
7 | 2012-05-09 | oranges | 18 | 1.49
2012 - Sum(price for 2012)
怎麼可能使用鑽取完成?
這個月可以摺疊,並可以看到一年(第一次運行)?