Chapter 12

 < Day Day Up > 


  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 =   DataGridViewSelectionMode.FullRowSelect; 


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.


     < Day Day Up > 

    Core C# and  .NET
    Core C# and .NET
    ISBN: 131472275
    EAN: N/A
    Year: 2005
    Pages: 219 © 2008-2017.
    If you may any questions please contact us: