Basic Column, Row, and Cell Features in the Windows Forms DataGridView Control

Many basic behaviors of DataGridView cells, rows, and columns can be modified by setting single properties. The topics in this section describe several of the most commonly used of these features.

How to: Hide Columns in the Windows Forms DataGridView Control

Describes how to prevent specific columns from appearing in the control.

How to: Hide Column Headers in the Windows Forms DataGridView Control

Describes how to prevent the column headers from appearing in the control.

How to: Enable Column Reordering in the Windows Forms DataGridView Control

Describes how to enable users to rearrange columns in the control.

How to: Freeze Columns in the Windows Forms DataGridView Control

Describes how prevent one or more adjacent columns from scrolling.

How to: Make Columns Read-Only in the Windows Forms DataGridView Control

Describes how to prevent users from editing specific columns in the control.

How to: Prevent Row Addition and Deletion in the Windows Forms DataGridView Control

Describes how to remove the row for new records at the bottom of the control to prevent users from adding rows. Also describes how to prevent users from deleting rows.

How to: Get and Set the Current Cell in the Windows Forms DataGridView Control

Describes how to access the cell that currently has focus in the control.

How to: Display Images in Cells of the Windows Forms DataGridView Control

Describes how to create an image column that displays an icon in every cell.

DataGridView

Provides reference documentation for the control.

Basic Formatting and Styling in the Windows Forms DataGridView Control

Provides topics that describe how to modify the basic appearance of the control and the display formatting of cell data.

Programming with Cells, Rows, and Columns in the Windows Forms DataGridView Control

Provides topics that describe how to program with cell, row, and column objects.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft