玉
玉虎
Unregistered / Unconfirmed
GUEST, unregistred user!
近日在同学录的制作中遇到需要将两个库中的两个标联结起来的操作,不知我写的这段asp程序错在那里,请教各位大虾!
.
.
.
.
.
.
set conn=server.createobject("adodb.connection")
conn.open "driver={Microsoft Access Driver (*.mdb)};dbq=" &
server.mappath("data/talk.mdb")
set conn1=server.createobject("adodb.connection")
conn1.open "driver={Microsoft Access Driver (*.mdb)};dbq=" &
server.mappath("data/classmate.mdb")
set rs=server.createobject("adodb.recordset")
sql="select * from talk.9807talk,talk.9807成员 where visible=0 and 9807talk.netname=9807成员.网名 order by 9807talk.id desc"
rs.open sql,conn,1,3
.
.
.
.
.
.
.
.
.
.
.
.
set conn=server.createobject("adodb.connection")
conn.open "driver={Microsoft Access Driver (*.mdb)};dbq=" &
server.mappath("data/talk.mdb")
set conn1=server.createobject("adodb.connection")
conn1.open "driver={Microsoft Access Driver (*.mdb)};dbq=" &
server.mappath("data/classmate.mdb")
set rs=server.createobject("adodb.recordset")
sql="select * from talk.9807talk,talk.9807成员 where visible=0 and 9807talk.netname=9807成员.网名 order by 9807talk.id desc"
rs.open sql,conn,1,3
.
.
.
.
.
.