Asp.net mvc 3 Html.TextboxFor(model=>;model.Username)在MVC3 RC2中给出错误

Asp.net mvc 3 Html.TextboxFor(model=>;model.Username)在MVC3 RC2中给出错误,asp.net-mvc-3,Asp.net Mvc 3,这在RC1中以前是有效的,但在RC2中不起作用。知道怎么了吗 Line 97: @Html.LabelFor(model => model.Username) Line 98: @Html.TextboxFor(model => model.Username) ---> ERROR HERE Line 99: @Html.ValidationMessageFor(model => model.Username) Descr

这在RC1中以前是有效的,但在RC2中不起作用。知道怎么了吗

Line 97:         @Html.LabelFor(model => model.Username)
Line 98:         @Html.TextboxFor(model => model.Username) ---> ERROR HERE
Line 99:         @Html.ValidationMessageFor(model => model.Username)

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper<Learning.Ajax.Models.Order>' does not contain a definition for 'TextboxFor' and no extension method 'TextboxFor' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<Learning.Ajax.Models.Order>' could be found (are you missing a using directive or an assembly reference?)
第97行:@Html.LabelFor(model=>model.Username)
第98行:@Html.TextboxFor(model=>model.Username)--->此处出现错误
第99行:@Html.ValidationMessageFor(model=>model.Username)
描述:编译服务此请求所需的资源时出错。请查看以下特定错误详细信息,并适当修改源代码。
编译器错误消息:CS1061:'System.Web.Mvc.HtmlHelper'不包含'TextboxFor'的定义,并且找不到接受'System.Web.Mvc.HtmlHelper'类型的第一个参数的扩展方法'TextboxFor'(是否缺少using指令或程序集引用?)

应为
文本框(大写B)

应为
文本框(大写B)