Hello,
I have a form with multiple text boxes that are databound. Instead of clearing the databinding from each text box one at a time is there a way to loop through each text box and remove the databinding? It seems silly that I would have to go through like this:
txtItem.DataBindings.Clear()
txtItemID.Databindings.clear()
If this is the only way to go about it, I can do it this way, but it seems like there must be a better way to remove the databinding from several text boxes than the above psuedo code.
Any help is greatly appreciated.
Thanks.
I have a form with multiple text boxes that are databound. Instead of clearing the databinding from each text box one at a time is there a way to loop through each text box and remove the databinding? It seems silly that I would have to go through like this:
txtItem.DataBindings.Clear()
txtItemID.Databindings.clear()
If this is the only way to go about it, I can do it this way, but it seems like there must be a better way to remove the databinding from several text boxes than the above psuedo code.
Any help is greatly appreciated.
Thanks.