DataGridView Control (Windows Forms)

The DataGridView control provides a powerful and flexible way to display data in a tabular format. You can use the DataGridView control to show read-only views of a small amount of data, or you can scale it to show editable views of very large sets of data.

You can extend the DataGridView control in a number of ways to build custom behaviors into your applications. For example, you can programmatically specify your own sorting algorithms, and you can create your own types of cells. You can easily customize the appearance of the DataGridView control by choosing among several properties. Many types of data stores can be used as a data source, or the DataGridView control can operate with no data source bound to it.

The topics in this section describe the concepts and techniques that you can use to build DataGridView features into your applications.

In This Section

Topic Location
Using the Designer with the Windows Forms DataGridView Control Windows Forms Controls
Using the Designer with the Windows Forms DataGridView Control Windows Forms Controls
Using the Designer with the Windows Forms DataGridView Control Windows Forms Controls
Using the Designer with the Windows Forms DataGridView Control Windows Forms Controls

Reference

  • DataGridView
    Provides reference documentation for the DataGridView control.
  • BindingSource
    Provides reference documentation for the BindingSource component. The DataGridView control and the BindingSource component are designed to work closely together.

See Also

Tasks

DataGridView Control Sample

Other Resources

Controls to Use on Windows Forms