然后名称'html'在当前上下文mvc4中不存在 [英] Then name 'html' does not exist in current context mvc4
本文介绍了然后名称'html'在当前上下文mvc4中不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在这里看过代码项目文章
[ ^ ]
但是它无法解决我的错误.......如何解决这个错误
当前上下文中不存在HTML这个名称
I have seen the code project article here
[^]
But it's unable to solve my error ....... how to solve this error
The name 'HTML' does not exist in current context
推荐答案
如果您有母版页,我认为子页面不应该包含< HTML>标签。只是标题和正文?
大多数时候我们只使用内容标签。
if you have a master page, I don't think the child pages should have the <HTML> tags. Just the headers and body?
Most of the time we just used the content tags.
这篇关于然后名称'html'在当前上下文mvc4中不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文