JavaScript ?
[QUOTE]var conn=Server.CreateObject("ADODB.connection");
conn.Open("driver={Microsoft Access Driver (*.mdb)};dbq=" & Server.MapPath("db1.mdb"));
var rs=Server.CreateObject("ADODB.RecordSet");[/QUOTE]
这个是 ASP 中 VBScript的写法
JavaScript这样写:
var conn = new ActiveXObject("adodb.connection");
var rs = new ActiveXObject("ADODB.Recordset");
VB, Delphi, ASP, PHP, JSP, .NET
MS SQL, My SQL, Oracle
Diablo, StarCraft, WarCraft, World of Warcraft