【发布时间】:2014-03-12 17:12:23
【问题描述】:
<li> @Html.LabelFor(m => m.EmployeeCode)
@Html.TextBoxFor(m => m.EmployeeCode)
@Html.ValidationMessageFor(model => model.EmployeeCode)
</li>
<li>
@Html.LabelFor(m => m.WorkPhone)
@Html.TextBoxFor(m => m.WorkPhone, new { @placeholder = "WorkPhone" })
@Html.ValidationMessageFor(model => model.WorkPhone)
</li>
<li>
@Html.LabelFor(m => m.BillingRate)
@Html.TextBoxFor(m => m.BillingRate)
@Html.ValidationMessageFor(model => model.BillingRate)
</li>
<li>`enter code here`
@Html.LabelFor(m => m.FunctionId)
@Html.EditorFor(m => m.FunctionId)
@Html.ValidationMessageFor(model => model.FunctionId)
</li>
//Here I need the function Id to return values from another model and it sould be as a dropdown !!
【问题讨论】:
标签: c# html model-view-controller