ASP提交表单后,如何显示刚提交表单的ID
2013-11-10
展开全部
<%set rrs1=server.createobject("adodb.recordset")
Sql = "select * from 表 order by id desc "
rrs1.Open Sql,conn,1,3id=rrs1("id") Response.Redirect"my.asp?id='&id&'"%>
Sql = "select * from 表 order by id desc "
rrs1.Open Sql,conn,1,3id=rrs1("id") Response.Redirect"my.asp?id='&id&'"%>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询