在当前上下文中不存在控制

编程入门 行业动态 更新时间:2024-10-26 02:34:04
本文介绍了在当前上下文中不存在控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个奇怪的问题。应用程序中确实存在两个控件,即文本框和下拉列表。 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

更多推荐

在当前上下文中不存在控制

本文发布于:2023-11-09 15:10:47,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1572693.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:上下文   中不

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!