Bindingnavigator validating event
And then visa versa when the user changes the text in the controls. Unlike binding to a database, which generates a significant amount of code and then binds to that generated code, object binding binds to your code.That gives you much more control and greatly simplifies the maintenance of your application.For more information on using snippets or creating your own, see the article “Having Fun with Code Snippets” in the Jan/Feb 2006 issue of Co De Magazine.After you have defined any desired properties on your business object, build the project.Click the Finish button and the new object data source will appear in the Data Sources window.Notice that each of the properties of the object appears below the object name in the window. Open the default form that was created when you created the project.
Deborah is the author of several books, including Best Kept Secrets in .
To try out object binding, create a new Windows Forms project and add a class to the project.