VB.NET DataGridView Tutorial

The following lessons teaches you the fundamental programming concepts of DataGridView control and its supporting classes, in detail. The DataGridView control provides a customizable table for displaying data. This control is designed to be a complete solution for displaying tabular data with Windows Forms. Also the DataGridView class allows us to customization of cells, rows, columns, and borders through the use of its properties

You can extend the DataGridView control in a number of ways to build custom behaviors into your applications. The DataGridView control makes it easy to define the basic appearance of cells and the display formatting of cell values. The cell is the fundamental unit of interaction for the DataGridView. All cells derive from the DataGridViewCell base class. Each cell within the DataGridView control can have its own style, such as text format, background color, foreground color, font etc.

The following lessons explain the basics of DataGridView control and steps through an example that builds simple vb.net programs. All the source code in the following examples ,we chose the Pubs database, which comes with SQL Server , as our target database.