Message-ID: <4BPT07$vHq@bbs.sdu.edu.cn>
Subject: ��蹋�asp ADODB.Recordset
Date: Sun, 28 Mar 2004 02:14:31 +0000
From: coice.bbs@bbs.sdu.edu.cn (����)
Path: news.cnusenet.org!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.lang.mbox.zip!archiver1.google.com!news1.google.com!news.glorb.com!border1.nntp.ash.giganews.com!nntp.giganews.com!ngpeer.news.aol.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!SDU
Newsgroups: cn.bbs.comp.lang
Organization: 泉������
X-Filename: Programming/M.1080440071.A
Xref: news.cnusenet.org cn.bbs.comp.lang:18061
�呛� ��位�����铱���
Function openDB()
Set conn =Server.Createobject("ADODB.Connection")
temp="Provider=Sqloledb.1;Persist Security Info=False;User ID=sa;Initial Catal
og=stu;Data Source=c32;PWD=312"
conn.Open temp
END FUNCTION
CALL openDB()
query="select * from admin where username="&"'"&username&"'"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open query,conn,1,3
������示 rs.open query,conn,1,3����
Microsoft VBScript ���������� ���� '800a03f6'
缺�� 'End'
/iisHelp/common/500-100.asp����242
ADODB.Recordset ���� '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in confli
ct with one another.
�不�� ���煤���幕�一����
Set conn =Server.Createobject("ADODB.Connection")
temp="Provider=Sqloledb.1;Persist Security Info=False;User ID=sa;Initial Catal
og=stu;Data Source=c32;PWD=312"
conn.Open temp
query="select * from admin where username="&"'"&username&"'"
set rs=Server.CreateObject("ADODB.Recordset")
rs.open query,conn,1,3
--
[0;1;34m�� ��源:��泉������ http://bbs.sdu.edu.cn [FROM: 219.218.96.99][m