Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @{
- Layout = null;
- }
- <!DOCTYPE html>
- <html>
- <head>
- <meta name="viewport" content="width=device-width" />
- <title>sumar_ConFormCollection</title>
- </head>
- <body>
- <div>
- <form action="/calculadora/sumar_ConFormCollection" method="post">
- <label for="op1">Numero 1</label>
- <input type="text" name="op1" id="op1"/>
- <br />
- <label for="op2">Numero 2</label>
- <input type="text" name="op2" id="op2"/>
- <br />
- <input type="submit" name="sumar" value="Sumar" />
- </form>
- @if (ViewBag.TextoResultado != null)
- {
- <div>
- <h2>@ViewBag.TextoResultado</h2>
- </div>
- }
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement