菜鸟问题:关于session的赋值和比较
sct01 2003-12-10 08:20:48 我的问题
...
RS.Open "update Users set pwd='"&Session("psw")&"'
where UserID=Session("userid") ",MyConn,adOpenStatic
这么些的话,报错:语句未结束
...
RS.Open "update Users set pwd='"&Session("psw")&"'
where UserID="&Session("userid")&" ",MyConn,adOpenStatic
这么些的话,报错:'=' 附近有语法错误。
其中userid对应的值为int型,怎么办?
"& ...&"是用来干嘛的?
'"& ...&"'又是用来干嘛的?