When Dreamweaver is making dynamic web pages (here, we take asp web pages as an example), we need to call the content of the database, so at this time we need to connect to the database, mainly through the data source. How to connect to the data source? Let’s take a look at the detailed tutorial below.
1. Open "File" in the menu bar and select "New".
2. Select the page type as " ASP VBScript " in the new window, and then click Create.
3. Open "File" in the menu bar and select "Save".
4. Enter the file name in the Save As window, the suffix is asp , and then click Save.
5. Open "Window" on the menu bar and select " Database ".
6. Click the + sign in the database panel and select "Data Source Name (DSN)".
7. Enter the connection name, then select the data source to be connected, select "Use local DSN" below, and then click OK.
8. At this point, the data source is connected. Expand it one by one to see the tables and views in the database.
9. Right-click in the table and click " View Data ".
10. Now we can see the data we added to the database.
The above is how dw connects to data sources. I hope you like it. Please continue to pay attention to downcodes.com.