<!--#include file="db_class.asp" --> <% '当前页面数据 nPath = "..\..\.." 't模块的数据 tMdb = "\newbox\nWork\mytest\m.mdb" set db = new db_class 'db.conn_open(lib.dbPath)'打开数据库 db.conn_open(server.MapPath(nPath+tMdb))'打开数据库 '获得数据 set rs = db.getRsById(rs,"sysT",1) %> <!doctype html> <html> <head> <meta charset="utf-8"> <title>无标题文档</title> </head> <body> <%=rs("mStr")%> </body> </html> <% db.conn_close() %>