ASP.NET-MVC – Linq Groupby in strong type MVC view

How to get IGrouping results to map to views?

I have this question:

var groupedManuals = manuals.GroupBy(c => c.Series);
return View (groupedManuals);

What is the correct mapping of the ViewPage declaration?

Inherits="System.Web.Mvc.ViewPage>"

< /div>

I am still in the early stages of learning Linq, so I may be wrong, but I think ViewPage needs to be like

Inherits ="System.Web.Mvc.ViewPage>>

How to get IGrouping results to map to the view?

I have this question:

var groupedManuals = manuals.GroupBy(c => c.Series);
return View(groupedManuals);

pre>

What is the correct mapping declared by ViewPage?

Inherits="System.Web.Mvc.ViewPage>"

p>

I'm still in the early stages of learning Linq, so I may be wrong, but I think ViewPage needs to be like

 Inherits="System.Web.Mvc.ViewPage>>

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2113 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.