
In this step we add a Connection control to the Global.asax form, which is the form that acts as the ASP.NET application container.
To add a Connection control to your Global.asax form:
Drag-and-drop a Connection control from the Pick Data Web Extensions tab in the Toolbox to the Global.asax form.
|
NOTE– |
|
Set the properties for the Connection control from the Properties dialog box. In this tutorial, the properties are set as:
|
Connection |
Database Property |
Host Property |
Password Property |
User Property |
|
Connection1 |
Demo_PickDP |
localhost |
admin |
admin |
Note that these are the same values set up in the Adding Servers section of this tutorial.
Right-click the Global.asax form to verify that the correct connection code has been inserted.