@{
Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>登录</h2>

<p>
@using(Html.BeginForm("Login", "Login", FormMethod.Post)){
<p>
<br>用户:@Html.TextBox("username")
密码:@Html.TextBox("password")
<input ] },null)
</p>
<p>
</p>

相关文章: