Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have an MVC5 application that gets data from my SQL Server table and outputs it on cshtml using Razor engine. I just used the auto-generated code that visual studio 2013 created when I added a new item. I want to add a link that creates a filter and sorting of the table. I'm not sure how to do that with Razor.

Here is my controller:

JavaScript
private AH_ODS_DB_Entities db = new AH_ODS_DB_Entities();

// GET: /Home/
public ActionResult Index()
{
    return View(db.Transmitals.ToList());
}


Any recommendations for a book about MVC5, entityframework or Razor engine?
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900