Fork me on GitHub

Table - Basic Sample

An example showing an auto-generated table using the public view model properties.

IdFirstLastBirth DateEmailFavorite ColorFull Name
1 ViraDuran1978-11-28 sit.amet@necantemaecenas.co.uk
Vira Duran
2 DaquanMcdowell1985-01-08 id.nunc@nuncullamcorpereu.co.uk
Daquan Mcdowell
3 LysandraHolloway1986-04-11 dui@donec.edu
Lysandra Holloway
4 PiperLarsen1968-04-14 scelerisque@volutpatnullafacilisis.org
Piper Larsen
5 CarissaMueller1964-01-19 suspendisse.sagittis.nullam@nislnulla.co.uk
Carissa Mueller
Showing 1 to 5 of 100 entries 
Markup
@model IPagedList<BasicPersonView>
<table class="table" asp-for="@Model" />