Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model IEnumerable<GridTest1.Models.Person>
- @{
- ViewBag.Title = "People";
- WebGrid grid = new WebGrid(Model);
- }
- <h2>People</h2>
- @grid.GetHtml(columns: new [] {
- grid.Column("ID"),
- grid.Column("FirstName"),
- grid.Column("LastName")
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement