20.8. Programming with ADO.NET: Address Book Case Study

Our next example implements a simple address book application that enables users to insert rows into, locate rows from and update the SQL Server database AddressBook.mdf, which is included in the directory with this chapter’s examples.

The AddressBook application (Fig. 20.44) provides a GUI through which users can execute SQL statements on the database. However, rather than displaying a database table in a DataGridView, this example presents data from a table one row at a time, using several TextBoxes that display the values of each of the row’s columns. A BindingNavigator allows you to control which row of the table is currently in view at any given time. The BindingNavigator also allows ...

Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition 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.