Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enumerate controls
Message
From
03/10/2002 19:38:54
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00705640
Message ID:
00707617
Views:
22
> 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
Previous
Reply
Map
View

Click here to load this message in the networking platform