Chapter 24. Working with Data Binding and DataSets

After completing this chapter, you will be able to:

  • Bind a property of a control to a data source at design time or run time by using simple binding.

  • Bind a control to a list of values from a data source by using complex binding.

  • Design a DataSet class containing TableAdapter and DataTable classes.

  • Write code to instantiate and populate a DataSet object.

  • Use a DataGridView to modify the data held in a DataSet object.

  • Validate the changes the user has made to the data in a DataGridView control

  • Update a database with the changes made to a DataSet object using a TableAdapter object.

In Chapter 23, you learned the essentials of using Microsoft ADO.NET for executing queries and updating databases. You used ...

Get Microsoft® Visual C#® 2005 Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.