CurrencyManager

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

I have a control which binds to a DataSource (DataView) but doesn't have a
BindingContext. Is there anyway to attach a CurrencyManager to this
DataView?

Thanks,
Joe
 
Hi Joe,

The BindingContext property is derived from System.Windows.Forms.Control
class. So each windows form control should have this property. If you
cannot get that property from the current control, you can try to use the
BindingContext of the form, like CurrencyManager cm =
(CurrencyManager)this.BindingContext[dataView].

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Back
Top