DataGridViewSelectionMode。 Column selection Click a column header or a cell in a column to select an entire column.
DataGridViewSelectionMode。 Whole row selection You can select the whole row by clicking the row header or the cells in the row.
DataGridViewSelectionMode。 Row header selection Click the header to select the entire row.
DataGridViewSelectionMode。 Cellselect can select one or more cells.
These properties are a selection mode, just as text boxes control whether you set a single-line text box or a multi-line text box at design time.