1.Html.TextBoxFor 用法
单个属性:<%= Html.TextBoxFor(model => model.ReturnDate, new { size = 20 })%>
多个属性:<%= Html.TextBoxFor(model => model.CityFromRoute2, new Dictionary<string, object>() { {"size", 20 }, {"readnoly", "readnoly" } })%>
<%= Html.TextBoxFor(model => model.Rfid, new Dictionary<string, object>() { { "readonly", "readonly" }, { "style", "border-color:white" } })%>