CurrencyManager

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
 
K

Kevin Yu [MSFT]

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."
 

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