我试试这段代码,但我没有得到任何结果.. 任何身体都可以帮助我/?
function DeleteRecord() {
alert("dsa");
var cn = new ActiveXObject("ADODB.Connection");
//alert(cn);
var strConn = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source='C:\\Users\\Khaled\\Desktop\\student.accdb'";
alert(strConn);
cn.Open(strConn);
var rs = new ActiveXObject("ADODB.Recordset");
var SQL = "select count(*) from info";
rs.Open(SQL, cn);
alert(rs(0));
rs.Close();
cn.Close();
}