使用C#在ASP.NET中进行数组控制 [英] Array Control in asp.net with c#

查看:87
本文介绍了使用C#在ASP.NET中进行数组控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,
如何在Web应用程序中使用c#在asp.net中创建控件数组?请尽快答复.

Sir,
How to create Array of Control in asp.net with c# using Webapplication??Please Reply soon.

推荐答案

您能否明确说明您想做什么? > 您想对该数组做什么?
Could you clarify what exactly you want to do?
What do you want to do with that array?


控件数组是过时的VB6概念.您可以递归地遍历控件集合,但是我所看到的一系列控件没有用.如果需要一个,则可以通过按名称将控件分组在一起,或者按照我所说的遍历它们的方式,在代码中创建一个.
Arrays of controls are an outdated VB6 notion. You can iterate over your controls collection recursively, but there is no use for an array of controls that I can see. If you need one, then you create one in code, by grouping the controls together by name, or by iterating over them as I said.


这篇关于使用C#在ASP.NET中进行数组控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆