Refresh Binding

E

elefrancois

Hi,

I have a Typed DataSet that is bind to some winform controls. TextBox,
Labelx etc....
At some point, my dataSet values are updated being the scene. The
probleme is that my binded controls are not updated automatically when
DataSource is updated.
What I have to do to force the rebind of my controls ?


...Etienne Lefrancois
 
D

Dave Sexton

Hi Etienne,

Normally, using the Control.DataBindings instance property will do the trick. Just make sure that each control is bound to the same
object and that you are updating the same object to which the controls are bound.

Could you post your data-binding code?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top