Question MVC2 — Group list of events by date and venue

Paszt

Staff member
Joined
Jun 3, 2004
Messages
1,500
Location
Raleigh, NC - USA
Programming Experience
Beginner
I'm using MVC2, .NET 3.5 and attempting to create a page that will display a list of events (as in calendar events) grouped by date and venue. pollstar.com is one example of such an events grouping.

I've tried several methods such as IGrouping(Of IEnumerable(Of DateTime, Event)), but I keep hitting linq syntax road blocks. Most examples I run across are in C# or don't state the version of MVC.

If anyone knows of examples or can suggest a good method for doing this, it would be appreciated.
 
This sounds like it doesn't have anything specific to do with MVC and is more of a LINQ question. What flavour of LINQ are you using (L2S, EF, L2O, etc)? What properties do the items you are querying have and what properties do you want to group on?
 
Back
Top