Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Baseclass property?
Message
From
09/11/2002 12:58:14
 
 
To
09/11/2002 11:17:26
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00720621
Message ID:
00720656
Views:
7
This message has been marked as a message which has helped to the initial question of the thread.
Christian,

BTW ... using for is faster than using foreach
for(int i=0; i < this.Controls.Count; i++)
{
	if (this.Controls[i] is TextBox)
	{
	  this.Controls[i].DataBindings.Clear();
	}

}
>Did the trick!
>Thank you again Bonnie!
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform