Getting the Most Out of Windows Forms Data Binding
page 2 of 6
by Jon Kruger
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 24651/ 64

N-Tier Design

First of all, we need to remember that a good architecture will keep as much functionality in the business objects as possible. In order to implement the interfaces that you need for data binding, you will have to put certain functionality in the business objects, such as validation, error messages, dirty state, and undoing edits to the object.

Even if you are not using data binding, it is generally good practice to design your object this way anyways. This way, if you decide later on to rip off your WinForms UI and replace it with a web front end, the transition should (hopefully) be seamless.

Now, let us take a look at some of the important interfaces that you will want to implement when using data binding.


View Entire Article

User Comments

No comments posted yet.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-25 5:28:12 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search