In MS Access we have a simple report:
Manufacture | Model | Wheels | Serial
Man1 | aaa | 4 | 111
Man1 | aaa | 4 | 112
Man1 | bbb |2 | 123
Total Models: 3 Total Wheels: 10
Man2 | asd| 8 | 1145
.......
And so on until the totals at the bottom:
Total models: 55 |Total Wheels: 245
I want to convert this to work on the web. I’ve got the data on a gridview, but cannot get the sub totals or totals. Is there something that can be set in the Columns’ properties?
Is the gridview even the best choice for this or would you use a different control?
I’m using c# in Web Developer 2010 Express and the data is coming from SQL Server if that makes a difference.
Well…
http://tinyurl.com/7olot6v
Here’s an example from MSDN: http://msdn.microsoft.com/en-us/library/ms972833.aspx
It’s in VB.NET but converting the idea over shouldn’t be too hard.