asp.net共享函数中的文本框 [英] asp.net Textbox in shared function
本文介绍了asp.net共享函数中的文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法从代码中访问网页中包含的文本框,但是我希望在公共共享函数中使用它vb代码怎么做呢
解决方案
< blockquote>你不能。
共享函数无法访问Page控件,因为它们无法访问实例,因此没有 Me
到请参阅。
您的功能不能共享
I have trouble accessing a textbox contained in web page from the code behide where by i want to use it in public shared function vb Code how do go about it
解决方案
You can't.
Shared functions do not have access to Page controls, because they cannot access an instance and thus have noMe
to refer to it by.
Your function cannot beShared
这篇关于asp.net共享函数中的文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文