DataGridView Articles

Windows Forms provides the useful DataGridView control, which allows you to display structured data from memory or from any database in an automated way. In Windows Forms, you do not need to develop your own grid logic, but can simply plug in your data into the DataGridView. That said, the DataGridView has many complexities and some help is always needed.

Tips and secrets [C#]

The most popular DataGridView article here focuses on the C# language. It describes ways you can use DataGridView in your Windows Forms program, and also provides example code.

See DataGridView Tips and Secrets.

Tutorial [C#]

There is also a tutorial on how to use the DataGridView control; you can build an application that displays data from a database. This tutorial can be used as an introduction to DataGridView.

See DataGridView Tutorial.

DataGridView [VB.NET]

This article provides examples for using the DataGridView in the VB.NET language; you can perform many important tasks with DataGridView by following the tips here.

See DataGridView Usage.

Using columns

You can specify the columns in your DataGridView using a variety of different approaches. This can be done programmatically or declaratively in Visual Studio. This article details how you can use the Edit Columns dialog.

See DataGridView Columns, Edit Columns Dialog.

Properties

The DataGridView control has many different properties you can adjust. This article contains my notes for the DataGridView and details ways you can use these properties.

See DataGridView Property Notes.

© 2007-2010 Sam Allen. All rights reserved.

Dot Net Perls  Sam Allen