呵呵!我这个菜鸟又来问问题来啦!
代码使用javascript写的,具体如下:var conn=new ActiveXObject("ADODB.connection");
conn.ConnectionString = "DSN=oscar;User ID=oajt;pwd=szoscar55";
conn.open;
var rs = new ActiveXObject("ADOBO.RecordSet");
var sql = "select * from sealpublic";
rs.open(sql,conn);
alert(rs.RecordCount);
rs.close;
rs = null ;
conn.close;
conn = null;
在执行到var rs = new ActiveXObject("ADOBO.RecordSet");时总是报错:automation服务器不能创建对象
呵呵!还请大牛们帮忙解决一下啊!