This is the query I have
Function Index() As ActionResult
ViewBag.dateNow = DateTime.Now
Dim result = (From newLocation In DataAccess.Locations Join
newState In DataAccess.States
On newLocation.state Equals newState.id
Select newLocation, newState)
' Return View(DataAccess.Locations.ToList)
I am trying to populate the ToList View, but I can't figure out how to call a specific column since it is using a join...
I was thinking it would be like @item.newlocation.address
However, that is not working --- any advice?
View Complete Post