Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enumerate controls
Message
De
03/10/2002 19:38:54
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00705640
Message ID:
00707617
Vues:
23
> What would be the enumeration model.
// List through the controls
foreach (Control formControl in Controls) 
{
	MessageBox.Show(this, formControl.Name);
}
or (according to http://www.kamalpatel.net/ConvertCSharp2VB.aspx)
' List through the controls
Dim formControl As Control
For Each formControl In Controls
	MessageBox.Show(me, formControl.Name)
Next
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform