Previous Section  < Day Day Up >  Next Section

Chapter 12


  1. False

  2. True

  3. True

  4. False

  5. False

  6. False

  7. True

  8. False

  9. True


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).


The properties on a custom data source that expose the bound data must be writable, so the object can be updated.


DataGridView.SelectionMode =



A ListBox cannot be included in a DataGridView cell. Other controls that can be included are a Link, CheckBox, and Image.


To freeze a column, set the column's Frozen property to TRue. The column and all to its left remain visible during scrolling.


    Previous Section  < Day Day Up >  Next Section