Microsoft Visual Basic 2010 Step by Step eBook

(Tina Meador) #1

Chapter 19 Data Presentation Using the DataGridView Control 477



  1. Resize the FacultyDataGridView object so that it takes up less space.


Your form looks similar to the following screen shot:


  1. Click the Save All button to save your changes.


You’ve previewed and customized your table using database tools. Now you’ll run the
program to see what the data grid view looks like at run time. You’ll also learn how to sort
records in a data grid view object.

Manage a data grid view object at run time


  1. Click the Start Debugging button.


Visual Studio runs your project in the IDE. The Faculty database table appears within
the data grid view object, just as you configured it. Your form looks something like this:
Free download pdf