RMS.Manage.Web/Areas/Demo/Views/Tables/DataTables_Edit.cshtml
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@using RMS.EF.Model
@model Demo_User
<div class="form-horizontal">
@Html.HiddenFor(model => model.Id)
@Html.HiddenFor(model => model.EDeleted)
@Html.HiddenFor(model => model.CreationTime)
@Html.HiddenFor(model => model.CreationUser)
@Html.HiddenFor(model => model.LastUpdateTime)
@Html.HiddenFor(model => model.LastUpdateUser)
<div class="form-group">
@Html.LabelFor(model => model.UserName, "用户名", htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.UserName, new { htmlAttributes = new { @class = "form-control", @maxlength = 50 } })
@Html.ValidationMessageFor(model => model.UserName)
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.Password, "密码", htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.Password, new { htmlAttributes = new { @class = "form-control", @maxlength = 50,@type="password" } })
@Html.ValidationMessageFor(model => model.Password)
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.RePassword, "密码确认", htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.RePassword,new { htmlAttributes = new { @class = "form-control", @maxlength = 50, @type = "password" } })
@Html.ValidationMessageFor(model => model.RePassword)
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.NickName, "昵称", htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.NickName, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.NickName)
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.Age, "年龄(验证测试,不存数据)", htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.Age, new { htmlAttributes = new { @class = "form-control" } })
@Html.ValidationMessageFor(model => model.Age)
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.EStatus, "状态", htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.DropDownListFor(model => model.EStatus, new List<SelectListItem>()
{
new SelectListItem() {Value=(E_Status.Disable).ToString(),Text="不可用" },
new SelectListItem() {Value=(E_Status.Enable).ToString(),Text="可用" }
}, new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.EStatus)
</div>
后面还有 4 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。