我希望能够显示类似以下内容的报告:
District1
Store Name Product Price per piece Quantity sold Total Price
XYZ store Product1 10 6 60
Product2 8 5 40
District2
Store Name Product Price per piece Quantity sold Total Price
XYZ store Product1 11 5 55
Product2 10 4 40
District3
Store Name Product Price per piece Quantity sold Total Price
ABC store Product1 10 5 50
Product2 7 8 56
District4
....
的 ....
....
N区
数据存储在数据库中的方式是:
District StoreName Product Price Qty
District1 XYZ Store Product1 10 6
District1 XYZ Store Product2 8 5
District2 XYZ Store Product1 11 5
District2 XYZ Store Product2 10 4
District3 ABC Store Product1 10 5
District3 ABC Store Product2 7 8
我尝试使用List控件来重复行组但到目前为止没有运气。请帮忙。
答案 0 :(得分:1)