如何在数组的当前页面中访问控件 [英] How To access an controls in Current page in a array
本文介绍了如何在数组的当前页面中访问控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨 我想通过使用我要在这些元素上修改的数组来访问数组中的所有控件.
Hi I want to access all the controls in a array, byusing this array i want to modification on those elements
推荐答案
那是一件愚蠢的事情.它们不以这种格式存在.可以对页面的控件"集合和找到的容器的控件集合使用递归.
That''s a dumb thing to do. They don''t exist in that format. Use recursion over the Controls collection of your page, and the controls collection of the containers you find, instead.
这篇关于如何在数组的当前页面中访问控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文