Say I have a database table like the following:
FileID | FileName | FileSize | Group
-------------------------------------
1 test.txt 100 Group1
2 test2.txt 100 Group1
3 test3.txt 100 Group2
What would be the best way to display this data with an MVC view in the style of:
Group 1
Table Containing Group1 files
Group 2
Table containing Group1 files
What I am getting it, is when I group the results by Group via a linq to sql query, how can I efficiently display the file lists in sections.
Thanks for any input.