Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clearing databinding - Cycling through containers?
Message
From
09/12/2002 05:51:50
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
 
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
Clearing databinding - Cycling through containers?
Miscellaneous
Thread ID:
00730821
Message ID:
00730821
Views:
55
HI,
I want to clear databinding on all controls on a windows form. My problem is that sometimes a control is contained in another one (group box, tab pages). I know I can cycle through my controls using a foreach loop or a for loop but the problem is that there may be many levels of contained controls (textbox within a tab page within a group box). Is there an efficient way to clear the databindings of my controls contained within others? I could use recursivity but I then need to know if the control contains other control.

Thank you for your help,
Christian Cote
Next
Reply
Map
View

Click here to load this message in the networking platform