用JScript已成功连接数据库
已成功连接数据库!
<%
var Recordset1_cmd = Server.CreateObject ("ADODB.Command");
Recordset1_cmd.ActiveConnection = "dsn=jsconn;";
Recordset1_cmd.CommandText = "SELECT * FROM book";
Recordset1_cmd.Prepared = true;
var Recordset1 = Recordset1_cmd.Execute();
var Recordset1_numRows = 0;
%>
我是用的系统DSN
就是不知“自定义连接字符串”该怎么写?或请大侠们赐教。