PC Review


Reply
Thread Tools Rate Thread

CurrencyManager

 
 
Joe
Guest
Posts: n/a
 
      30th Nov 2005
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


 
Reply With Quote
 
 
 
 
Kevin Yu [MSFT]
Guest
Posts: n/a
 
      1st Dec 2005
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."

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# insertion of a record with CurrencyManager AddNew() method during the insertion of a father table record (with CurrencyManager AddNew() too) polocar Microsoft C# .NET 0 27th Sep 2006 06:51 PM
CurrencyManager web1110 Microsoft C# .NET 2 31st Mar 2005 12:52 AM
CurrencyManager Hemang Shah Microsoft ADO .NET 0 1st Feb 2005 10:52 PM
currencyManager Joe Abou Jaoude Microsoft Dot NET Compact Framework 18 15th Oct 2004 11:04 AM
CurrencyManager =?Utf-8?B?U3R1ZGVudA==?= Microsoft ASP .NET 1 6th Oct 2004 06:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:46 AM.