ASP输入数据库的问题,这个写法哪里有问题
set rs=server.CreateObject("adodb.recordset")
		if request("id")="" then
		rs.open "select * from light where id="&request("id"),conn,1,3
		end if
		rs.addnew
			rs("picname")=pic
			rs("pictime")=date()
			rs.update
		rs.close
求大神解答这个写法哪里有问题
              ------解决方案--------------------你的id是怎么传递的,get的话用request.querystring("id")
看起来你这段代码是插在上传中的,如果id是post来的,那就用上传类的方法获取,不知道你用的是什么上传类~