MVC VIEW

1、常用 

@Html.LabelFor(model => model.bmmc):

 @Html.EditorFor(model => model.bmmc)
 @Html.ValidationMessageFor(model => model.bmmc)

 

2、新增属性

  @Html.TextBoxFor(model => model.endyxq, new { @id = "tex1", @class = "easyui-datebox" })

 @Html.TextBoxFor(model => model.bmmc,new { @style="width:400px;" })

posted @ 2013-09-22 10:14  Bluze  阅读(259)  评论(0编辑  收藏  举报