干脆我把代码全贴上来吧 <!--#include file="Conn.asp"--> <% dim int1,int2,str3,str1,i,trs int1=int("5") int2=int("7") str3="字符串" AConnOpen str1=","&cstr(int1)&","&cstr(int2)&","&str3&"|" for i=0 to 10 AConn.execute("update goods1 set goods_count=goods_count + '" & str1 & "' where goods_id=3649") next set trs=AConn.execute("select goods_count from goods1 where goods_id=3649") response.write trs("goods_count") %>
最新回答
趁年华
2024-10-17 11:43:36
'classlist'
update table set classlist=classlist+'&classlist&' where id=1 你加上&这个符号,例如classlist = 001,那么执行后,就是 001&classlist& 这个值了。 &放在单引号中就是一个字符了,而不是与了
颓废美堕落情
2024-10-17 08:07:27
("update goods1 set goods_count=goods_count + " & str1 & " where goods_id=3649"