asp.net标签上的错误 [英] Errors on asp.net tags
本文介绍了asp.net标签上的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在visual studio中输入标签后。
它在该标签下显示绿色下划线。
并显示类似元素按钮的消息'不是已知元素。如果网站中存在编译错误,可能会发生web.config文件丢失
我必须做什么。我可能web.config已经存在于项目中。
请帮忙。
after typing a tag in visual studio .
it is showing a GREEN underline under that tag.
and it shows a message like this"Element ''button'' is not a known element.This may occur if there is a compilation error in the website are web.config file is missing "
what i have to do.My web.config is already exists int the project.
please help.
推荐答案
尝试使用合适的套管如下所示 -
< asp:button xmlns:asp =#unknown>
Try using proper casing like below-
<asp:button xmlns:asp="#unknown">
这篇关于asp.net标签上的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文