Rookie learn dreamweaver do asp: Database Display Chapter

Source: Internet
Author: User
Tags dreamweaver

Step Three: Database display Chapter

Site has been built, DW also managed, database tables have been built, but also a little Tim. That's it. DW is also a powerful feature: connect the database and display the record.

1, open the DW, the site inside the first new ASP page (index.asp). Select the Database tab in the Applications panel. As soon as we set up the site in front, select the document type (that is, our choice of ASP JavaScript) and also test the server (http://localhost/newgn/); now we see that the fourth step left is not ticked.

Now click on the "+" number and select "Custom connection string".

2, in the bounce out of the Custom Connection string dialog box, "Connection name" casually write one. The "connection string" should be filled out properly. Apply absolute path when "use driver on this computer": Driver={microsoft access DRIVER (*.mdb)};D bq=d:\newgn\database\cnbruce.mdb Otherwise "use the driver on the test server "MapPath conversion path: Driver={microsoft Access Driver (*.mdb)};D bq=" & Server.MapPath ("/newgn/database/cnbruce.mdb") Note: If you want to upload to the Web page can be directly used MapPath.

Click "Test", the success is cool.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.