for RuBoard |
1: | What are the properties that are used to bind for list boxes and combo boxes?
|
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 BindingContext s 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 DataSet s. |
A3: | True. However, it is usually easier to bind controls to data in a DataSet that contains the relationship as opposed to having to programmatically load from each and join them in your code. |
4: | For TextBox controls, which (databinding) property is set to bind a column to the control?
|
A4: | c. (databinding).Text property . Specify down to the individual column that is to be bound to the control. |
5: | True or false: You can bind to both traditional data sources as well as almost any structure that contains data. |
A5: | True. You can bind to both traditional data sources as well as almost any structure that contains data. There just has to be a way to populate the data somehow. |
6: | Windows Forms support binding data to:
|
A6: | a, b, and c. All of these. In fact, any collection that implements the Ilist interface. |
for RuBoard |