asp会员注册登录以及管理系统网页实例(asp member registration and login and management system page example)

asp会员注册登录以及管理系统网页实例(asp member registration and login and management system page example)

ID:8538334

大小:25.80 KB

页数:13页

时间:2018-03-31

asp会员注册登录以及管理系统网页实例(asp member registration and login and management system page example)_第1页
asp会员注册登录以及管理系统网页实例(asp member registration and login and management system page example)_第2页
asp会员注册登录以及管理系统网页实例(asp member registration and login and management system page example)_第3页
asp会员注册登录以及管理系统网页实例(asp member registration and login and management system page example)_第4页
asp会员注册登录以及管理系统网页实例(asp member registration and login and management system page example)_第5页
资源描述:

《asp会员注册登录以及管理系统网页实例(asp member registration and login and management system page example)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、asp会员注册登录以及管理系统网页实例(ASPmemberregistrationandloginandmanagementsystempageexample)Thispaperiscontributedbysy675859210Result.asp(Registrationjumpresults,whetherregisteredsuccessfully)Result.asp(Registrationjumpresults,whethertheregistrationissuccessful)"--#incl

2、ude!File="conn/db.inc.asp""Content-Type"content="text/html;charset=gb2312""text/css">

3、background-color:}#FFFFCC;onerrorresume-->next'ifthereareerrorsinthecodeonthejumptorunwidth="800"border="0"align="center"cellspacing="0"218"height="72"bgcolor="#FFCC99"&;nbsp;width="376"bgcolor="#FFCC99">&

4、;nbsp;>&;&;nbsp;align="center"valign="middle"bgcolor="#99FF99"

<%'createRecordsetobjectmethod1setrst=Server.CreateObject("ADODB.recordset")rst.opense

5、lectfrom[user]whereu_user='"*"&;request.form("f_user")&";"',Conn,1,1ifrst.recordcount>0then'iffromintheusername,theusernameresponse.Write"&"("f_user");request.form "isalreadyinuse!Pleaseclickthebackbuttontoreturntothepreviouspage!"Rst.closesetrst=nothin

6、gconn.closesetconn=nothingresponse.Endelserst.closeconn.begintrans'opensthedatabasefunctionofrst.openselect*from[user],Conn1,3,userRSTrst.addnew'toinsertthedataintothetable("u_user")=request.Form("f_user")rst("u_code")=request.Form("f_code")rst.updaterst.clo

7、se'getjustinsertedautomaticnumberfielddatavalue,i.e.thevalueoftheu_idfieldSetrst1=conn.execute("SELECT@@IDENTITYASuid")uid=rst1("uid")rst.openinfo,Conn,1,3'setmyErrors=conn.errorsifstatementerrordetectionandanalysisofmyErrors.count>0thenfori=0tomyErrors.coun

8、t-1response.Write("error:"&myErrors.item(I);.Description&;)nextendif'errordetectionandanalysistheendoftheiferr.number<>0thenresponse.WriteERRobjectcaptureerror:"err.descriptionendifrst.addnew

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。