|
Data Sources RAD Tool
Once the dataset is making,
you can open the Data Sources pane as of the top line Data
bill of fare. This pane will already explain the dataset
created, but you can also add other sources from a database
server, local database file such as Access or FoxPro, a Web
Service, or a predefined Business Object class. The wizard
will carry on through each step necessary for adding data
sources. You may also increase the table nodule to see all the
fields obtainable in the data table.
When you have a shape opens in
the IDE, the Data Sources pane depictions some additional
functionality. As each node is selected, a combo box allows
the user to decide how the entity should be delivered when
dragged to the form. For tables, the choices are Grid layer or
Details view. The Grid
will generate a Data layer manage that implements each field
in a default form, but can be edited to render different fixed
controls. The Detail view makes a label and textbox or other
tools for each field showing a solo record at a time.
Further choices for field
controls are: Textbox, Numeric going, Linked Label, Label,
Combination and List inside box. You can as well create custom
user controls and add them to the record list.
The Data Sources tool promotes
Rapid Application Development surroundings where developers
can rapidly create a User Interface (UI) based on database
plan. Rather than binding controls straight to dataset fields,
VS 2005 adds an additional layer call the Binding Source which
associates to the data object amass in the dataset. The
controls on the UI are bound to the Binding Source fields.
This is a new component that is a mixture of the Binding
Context and Data layer objects.
The Controls have simplified
binding by sinking the number of properties accessible for
binding to a pair of the more popular i.e. tag, text, selected
value, etc. You can still combine to the other countless of
properties from side to side the Advanced settings if wanted,
but the common bindings are famous and defaulted in mainly
cases by the Data Sources wizard.
|