12345678910111213141516171819202122232425262728 |
- @{
- ViewBag.Title = "加密";
- Layout = null;
- }
- <h2>Index</h2>
- @using (Html.BeginForm(new { @encry = true }))
- {
- <form class="form-horizontal well">
-
- <div class="form-actions">
- <button type="submit" class="btn btn-primary">加密</button>
-
- </div>
- </form>
- }
- @using (Html.BeginForm(new { @encry =false }))
- {
- <form class="form-horizontal well">
- <div class="form-actions">
- <button type="submit" class="btn btn-primary">解密</button>
- <a class="btn pull-right" onclick="window.close() ">关闭</a>
- </div>
- </form>
- }
|