本文介绍了在当前上下文中不存在控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个奇怪的问题。应用程序中确实存在两个控件,即文本框和下拉列表。 IntelliSense检测到它。但是当我编译它时会给出错误,即当前上下文中不存在这两个控件。但程序运行正常,值得更新。任何人都可以帮我在编译过程中避免这个错误吗? 提前谢谢 Raj
I have a strange problem. Two controls, viz., Text Box and dropdown list do exist in the application. IntelliSense detects it. But when I compile it gives error that these two controls do not exist in the current context. But the programs run correctly and values get updated. Can any one help me to avoid this error during compilation? Thanks in advance Raj
推荐答案尝试清理解决方案,然后 build / rebuild 解决方案。 -KR Try to clean the solution, and then build/rebuild the solution. -KR
更多推荐
在当前上下文中不存在控制
发布评论