--- sidebar_position: 5 title: HTML table --- ## Use an HTML table Now that we have displayed one of the fields of our object, we are going to display all the information. Open the `List.razor` file and fill it in as follows: ```cshtml title="Pages/List.razor" @page "/list"
Id | Display Name | Stack Size | Maximum Durability | Enchant Categories | Repair With | Created Date |
---|---|---|---|---|---|---|
@item.Id | @item.DisplayName | @item.StackSize | @item.MaxDurability | @(string.Join(", ", item.EnchantCategories)) | @(string.Join(", ", item.RepairWith)) | @item.CreatedDate.ToShortDateString() |