I want to be able to display a report something like:
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
….
….
….
District N
The way data is stored in database is:
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
I tried using List control for repeating the group of rows but no luck so far. please help.
1 Answer