Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Practices BindingContext vs. CurrencyManager
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00738110
Message ID:
00741289
Views:
15
Hi Cathy,

Thank you for the reference. I understand now that the "currencymanager" is
built into the BindingContect object, and is not entirely a separate process that must be called.

I feel like I'm building a mountain with individual toothpicks at this point, but am making forward progress. Thanks again!

Don Meuse





>Hi Don,
>
>Here is a link to a free chapter from a book that is devoted to Data Binding in .NET. This area causes a great deal of confusion and is VERY different from VFP. I recommend reading this chapter to get a good idea of how the whole process works.
>
>http://www.bluevisionsoftware.com/WebSite/Books/CustomControlsAndDesigners/Samples/Chapter6.pdf
>
>>I am learning ADO/VB.Net with WinForms. In MS Press and other books I have studied there are a lot of examples of Winform apps that use CurrencyManager for adding and deleting rows and navigating through records, with commands such as:
>>
>> CurrencyManager.AddNew
>> CurrencyManager.Position = 0, etc.
>>
>>I am currently studying ".Net for Visual Foxpro Developers" by Kevin McNeish, which gives the best real-world examples of building applications and is the most well-written. It also gives a rudimentary framework for database applications which I would like to use as a base for my applications. But the word "CurrencyManager" is not mentioned in the entire book, nor is it used in the framework examples. In his examples the BindingContext object is used for navigation with commands like this:
>>
>> Me.BindingContext(Me.dsOrders, "Orders").Position = 0
>>
>>And the datarow and table objects are used directly for adding new rows, etc.
>>
>>Can real WinForm apps really be written without use of the CurrencyManager? If so, am I better off not using it at all? Or am I heading for a crash because it's use is not optional? I'm a newbie, so I would love any experience or recommendations you might have - I expect to put hundreds of hours into constructing/debugging my own basic framework techniques.
>>
>>Don Meuse
>>Spectrum Software
>>Miami, Florida, USA
Previous
Reply
Map
View

Click here to load this message in the networking platform