| You can connect to an existing database from
within the ASP.NET Web Matrix development environment.
In this walkthrough, you will connect to the database we previously built
in an earlier section.
- Click the Data tab in the Workspace window.
- Click the New Connection button on the Data window
toolbar.
- You will see the Connect to Database dialog box appear.
- Type localhost in the Server box.
- Click the Windows authentication radio button.
- Click the Database drop-down. ASP.NET Web Matrix will connect
to the data source and populate the Database drop-down with
database names. Select the Orders database.
- Click OK.
- You will see a tree view in the Data window that contains a
parent node named localhost.Orders. The parent node contains two
child nodes - one named Tables and another named Stored
Procedures.
Next Step >> |