阅读背景:

MVC4中给TextBoxFor设置默认值和属性

来源:互联网 
例如:(特别注意在设置初始值的时候 Value 中的V要大写)
@Html.TextBoxFor(model => model.CustomerCode, new { Value=" 请输入您的客户号!",@style="width:240px;height:35px;",id="UserCode", @class="search_key_content"}) @H



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: