�呛� ��位�����铱��� 
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 


--







�� ��源:��泉������ http://bbs.sdu.edu.cn [FROM: 219.218.96.99]