rsReg.execute(sql)
这个是什么的对象ADODB.Connection还是ADODB.RecordSet?
这个是什么的对象ADODB.Connection还是ADODB.RecordSet?
rsReg.execute(sql)
执行SQL语句应该用
ADODB.Connection对象的excute方法吧?
Dim con
Set con=Server.CreateObject("ADODB.Connection")
con.Execute sql
不是很明白,意思是说把
sql="INSERT INTO User (UserName,Password,PwdConfirm,Question,Answer,Sex,Email,HomePage,Comane,Add,Somane,Zip,Phone,Fox) VALUES ('"
sql=sql & UserName & "','" & Password & "','" & PwdConfirm & "','" & Question & "','"
sql=sql& Answer & "','" & Sex &"','" & Email &"','" & HomePage &"','" & Comane & "','"
sql=sql & Add &"','" & Somane &"','" & Zip &"','" & Phone &"','" & Fox &"')"
放在Set Conn=Server.CreateObject("ADODB.Connection")这里面???