Refreshing and removing DataBindings

cpopham

Member
Joined
Jun 3, 2004
Messages
20
Programming Experience
1-3
This is a Windows ADO App. I have a form which allows a user to select a PO number from a combo box. I then get a dataset based on this information and bind some labels to various parts of the data. Now when the user makes a new selection I want these labels to reflect the new changes and not throw the error that says something about multiple bindings. How can I get these databindings to refresh?

Also I have tried to use this code to remove the databind:
Me.txtBuyer.DataBindings.Remove("text")
But I always get soemthing that says: Value of type 'String' cannot be converted to 'System.Windows.Forms.Binding'.
I thought that it would be the same as for adding a databinding.
And thoughts?
Chester
 
Back
Top