Hour 9

Quiz Answers

1: What are the properties that are used to bind for list boxes and combo boxes?
  1. The DataMember and DataSource properties

  2. The DataSet and DataSource properties

  3. The DisplayMember and DataSource properties

A1: c. ListBox controls use the DisplayMember and DataSource properties to bind data.
2: True or false: A CurrencyManager object sits on top of all the BindingContexts for a form.
A2: False. The complete opposite. It is the BindingContexts object that sits on top of all the CurrencyManagers for a form. Multiple forms have multiple BindingContexts objects.
3: True or false: The Master/Detail single DataSet (with a relation) data-binding approach could have been coded using two separate bound DataSets.
A3: True. However, it is usually ...

Get Sams Teach Yourself ADO.NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.