Solutions when ASP connects to MDB databases in Dreamweaver

xiaoxiao2021-03-06  39

First, use the "custom string" when establishing data sources in DW, in which

DRVIER = {Microsoft Access Driver (* .mdb)}; dbq = d: /program/Database/dat1234.mdb

That is, the absolute path of the database here is used, and when all the programs have been completed, the database connection file under the Connections file is turned on, and the previous sentence contained in the Connections file is opened.

"Provider = microsoft.jet.Oledb.4.0; data source =" & server.mappath ("/ database / dat1234.mdb")

This should be okay. The advantage is that there is a lot of opportunities when writing programs in DW, huh, huh.

转载请注明原文地址:https://www.9cbs.com/read-61034.html

New Post(0)