<!--#include file="conn.asp"-->
<%
dim uid
set rs=server.createobject("adodb.recordset")
sql="select * from users2 order by id desc"
rs.open sql,conn,1,1
uid=rs("id")+1
%>
<HTML><HEAD><TITLE></TITLE>
<META content="text/html; charset=GB2312" http-equiv=Content-Type><LINK
href="font.css" rel=stylesheet type=text/css>
<META content="Microsoft FrontPage 6.0" name=GENERATOR>
<base target="_top">
</HEAD>
<BODY bgColor=#FFFFFF leftMargin=0 text=#000000 topMargin=0>
<body topmargin="0">
<div align="center">
<BR>
</div>
ID:【<%=uid%>】
</font></b></p>
</BODY>
</HTML>
这样就行了