A1:
|
|
A2:
| Simple binding occurs on a control that displays a single value; complex binding associates a control with a collection of data in a data source. In one-way data binding, the control is bound to the source for read-only purposes. Changes to the control's value are not reflected in the data source. Two-way binding permits the data source to be updated by changing the control's value(s). |
A3:
| The properties on a custom data source that expose the bound data must be writable, so the object can be updated. |
A4:
|
DataGridView.SelectionMode =
DataGridViewSelectionMode.FullRowSelect;
|
A5:
| A ListBox cannot be included in a DataGridView cell. Other controls that can be included are a Link, CheckBox, and Image. |
A6:
| To freeze a column, set the column's Frozen property to TRue. The column and all to its left remain visible during scrolling.
dgv.Columns[1].Frozen=true;
|