An example showing an auto-generated table using the public view model properties.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
81 | Iola | Roy | 1971-06-18 | blandit.at.nisi@dictumproin.com | Iola Roy | |
82 | Rahim | Kinney | 1989-01-21 | velit@mieleifendegestas.edu | Rahim Kinney | |
83 | Molly | Maddox | 1950-02-17 | faucibus.orci.luctus@malesuadamalesuada.org | Molly Maddox | |
84 | Ima | Battle | 1981-12-18 | elit@tortordictumeu.org | Ima Battle | |
85 | Acton | Case | 1970-08-11 | donec@lectuspede.ca | Acton Case |
Markup
@model IPagedList<BasicPersonView> <table class="table" asp-for="@Model" />