数字电路 西安交大:recordset对象使用时出现了问题

来源:百度文库 编辑:神马品牌网 时间:2024/05/09 11:54:59
数据库用的是access 2003
在当中字段id是主键
程序中有sql="select id,uname from reg where uname='"&uname&"'"
有定义id=rs("id")
但执行response.redirect "reg_form.asp?id="&id语句后,地址栏只显示http://localhost/login/reg_form.asp?id=
是怎么回事

把id换成[id]