asp中向数据库写入新记录

来源:百度知道 编辑:UC知道 时间:2024/05/19 20:02:39
asp中向数据库写入新记录,就是网页中新用户注册时候。数据库中以有用户可以登陆。新注册的写入不了到数据库中。。但显示注册成功。。

判断用户注册时间啊。
<%if date()-rs("adddate")<3 then%>
<div style="width:580px;padding-left:10px;" >
<div id="wis" style="width:450px;" class="listtxet"><FONT style="BACKGROUND-COLOR: #99ccdd" color=#ffffff><%=(((page-1)*Num)+i)%><strong>→</strong></FONT>
<a href="../html/<%=rs("id")%>.html" ><%=FormatTitle(rs("Title"),rs("TitleStyle"))%></font></a><img src=images/new.gif alt="这条信息是最近3天的信息"><FONT color=#99CCFF>(已被浏览<u><%=rs("Hits")%></u>次)</FONT></div>
<div id="wis"><FONT color="#ff0000">[<%=FormatDate(Rs("AddDate"),1)%>]</font></div></div>
<%else%><div style="width:580px;padding-left:10px;">
<div id="wis" style="w