老是说数据库有问题?看图,在下面
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<p>
<%
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("chenhao702.mdb")
%>
<%
exec="select * from denglu"
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1
%>
<%
rs("UserName")=Session("UserName")
rs("Password")=Session("Password")
rs("user_nickname")=Session("user_nickname")
rs("user_name")=Session("user_name")
rs("user_sex")=Session("user_sex")
rs("user_birth")=Session("user_birth")
rs("user_idcard")=Session("user_idcard")
rs("user_favorite")=Session("user_favorite")
rs("user_postcode")=Session("user_postcode")
rs("user_addres")=Session("user_addres")
rs("user_telephone")=Session("user_telephone")
rs.Update
rs.Close
session("Login_flag")="Success"
%>
<table align="center" bgcolor="#88dff" cellspacing="0" width="60%">
<tr><td align="center">注册成功
<tr><td>
<table bgcolor="white" width="100%">
<tr><td align="certer">尊敬的<%=session("UseName")%>(<%=session("user_nickname")%>)成为我们的会员;
</table>
</table>
</body>
</html>