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:
00740406
Views:
20
Cathi;

Excellent article! It is nice to be pointed in the right direction and this is a topic very important to me. Can you tell us more about the book such as title, and publisher?

Tom


>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
Next
Reply
Map
View

Click here to load this message in the networking platform