Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @using (Html.BeginForm("MinhaAction", "MeuController", FormMethod.Post ))
- {
- <div>
- <table>
- <thead>
- <tr>
- <th>Empresa</th>
- <th>Cliente</th>
- <th>Situação</th>
- </tr>
- </thead>
- <tbody>
- @foreach (var item in Model)
- {
- <tr>
- <td><a href="@Url.Action("MinhaAction", "MeuController", item)">@item.Empresa</a></td>
- <td><a href="@Url.Action("MinhaAction", "MeuController", item)">@item.Cliente</a></td>
- <td><a href="@Url.Action("MinhaAction", "MeuController", item)">@item.Situacao</a></td>
- </tr>
- }
- </tbody>
- </table>
- </div>
- }
- <button type="submit">Enviar</button>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement