MVC的@ Html.TextBoxFor错误 [英] @Html.TextBoxFor Error for MVC
本文介绍了MVC的@ Html.TextBoxFor错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人可以帮助我解决我正在创建的此登录页面的此错误吗?
could anyone help me to solve this error for this login page i am creating?
推荐答案
您可能已经错过了页面顶部的@model指令,因此intellisense无法确定应该传递给页面的内容.
You've probably missed the @model directive at the top of the page, so the intellisense cannot figure out what you are supposed to pass into the page.
https://weblogs.asp.net /scottgu/asp-net-mvc-3-new-model-directive-support-in-razor
这篇关于MVC的@ Html.TextBoxFor错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文