首页 >> 文摘 >> JAVASCRIPT

用javascript连接数据库的解决方法

采集日期:2008-4-23作者:luoshengsha(注:本数据由系统自动采集,内容与BHCODE无关)
updateCnt = cnt * 1 + 1;sqlUpdCnt = sqlUpdCnt + updateCnt + "‘"; con.execute(sqlUpdCnt); con.close(); con = null; } function getCountFromTxt() { var filePath = location.href.substring(0, location.href.indexOf("Cnt.htm")); var path = filePath + "count.txt"; path = path.substring(8); var nextCnt = 0; var fso, f1, ts, s; //以只读方式打开文本文件。rs.close ConnDB.close } } </script> <input type=text id=txt name=txt onblu
本周推荐
MORE
热点关注
MORE