Chapter 12

 < Day Day Up > 

A1:

  1. False

  2. True

  3. True

  4. False

  5. False

  6. False

  7. True

  8. False

  9. True

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; 

     < Day Day Up > 


    Core C# and  .NET
    Core C# and .NET
    ISBN: 131472275
    EAN: N/A
    Year: 2005
    Pages: 219

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net