Advertisement
Guest User

Untitled

a guest
Oct 4th, 2012
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.99 KB | None | 0 0
  1. @model IEnumerable<GD.Models.Fix>
  2.  
  3.  
  4. <table>
  5.     <tr>
  6.         <th>
  7.             @Html.DisplayNameFor(model => model.Metal.Name)
  8.         </th>
  9.         <th>
  10.             @Html.DisplayNameFor(model => model.Currency.Code)
  11.         </th>
  12.         <th>
  13.             @Html.DisplayNameFor(model => model.FixAm)
  14.         </th>
  15.         <th>
  16.             @Html.DisplayNameFor(model => model.FixPm)
  17.         </th>
  18.         <th>
  19.             @Html.DisplayNameFor(model => model.Updated)
  20.         </th>
  21.     </tr>
  22.  
  23. @foreach (var item in Model) {
  24.     <tr>
  25.         <td>
  26.             @Html.DisplayFor(modelItem => item.Metal.Name)
  27.         </td>
  28.         <td>
  29.             @Html.DisplayFor(modelItem => item.Currency.Code)
  30.         </td>
  31.         <td>
  32.             @Html.DisplayFor(modelItem => item.FixAm)
  33.         </td>
  34.         <td>
  35.             @Html.DisplayFor(modelItem => item.FixPm)
  36.         </td>
  37.         <td>
  38.             @Html.DisplayFor(modelItem => item.Updated)
  39.         </td>
  40.     </tr>
  41. }
  42.  
  43. </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement