Microsoft Visual Basic 2010 Step by Step eBook

(Tina Meador) #1

Chapter 18 Getting Started with ADO .NET 455


a professional-looking navigation bar at the top of the form. The form looks something
like this (your Data Sources window might be in a different location):

Visual Studio has actually created two objects for this Last Name field: a descriptive
label object containing the name of the field, and a bound text box object that will
display the contents of the field when you run the program. Below the form in the
component tray, Visual Studio has also created several objects to manage internal
aspects of the data access process. These objects include:
o Faculty2010DataSet, the dataset that you created with the Data Source
Configuration Wizard to represent fields in the Faculty2010 database
o FacultyBindingSource, an intermediary component that acts as a conduit
between the Faculty table and bound objects on the form
o FacultyTableAdapter and TableAdapterManager, intermediary components that
move data between Faculty2010DataSet and tables in the underlying Faculty2010
database
o FacultyBindingNavigator, which provides navigation services and properties
related to the navigation toolbar and the Faculty table
Now you’ll run the program to see how all these objects work.
Free download pdf