【完整版】网上购物系统的设计与实现毕业论文设计 联系客服

发布时间 : 星期六 文章【完整版】网上购物系统的设计与实现毕业论文设计更新完毕开始阅读

图5.2 用户注册页面

用户注册信息提交,注册成功页面如图5.3所示。

图5.3 用户注册成功页面

为了便于网站对用户的管理,在用户注册页面接收到的注册信息要经过严格的过滤,保证注册用户名的唯一性,在提交表单后需要对数据表中的数据进行查询,如果没有找到,则在插入数据表时提示注册成功,否则提示此用户已被占用请重新注册,注册时如果输入邮箱,也会有唯一性的限制。 (2)用户登录

用户登录窗口设置在首页上,主要用来接收用户录入的用户名及密码。单击“注册”按钮时,会提交到用户登录页面执行;单击“登录”按钮时,系统将对输入的用户名和密码进行验证,如果数据表中用户名和密码存在就显示登陆成功,并返回首页,否则弹出错误提示信息。用户登录的流程图如图5.4所示。

用户登录流程图5.4

登录的代码如下

Private Sub command1_click() dim conn as new adodb.connection dim rs as new adodb.recordset dim str as string

Static logintimes As Integer dim sql as string str = App.Path

If Right(str, 1) <> \ str = str + \ End If

str = \Security Source=\ conn.open str

rs.cursorlocation=aduseclient

sql=\用户名='\ rs.open sql,conn,adopenkeyset.adlockpessimistic if rs.recordset.eof and rs.recordset.bof then msgbox \没有此用户\

Info=False;Data

else

if trim(text2.text)=rs.fields(\密码\

me..Software Engineering A Practitioner’s Approach[M].北京:清华大学出版社.2001.1-589.

[5] 耿祥义,张跃平.JSP实用教程[M].北京:清华大学出版社.2003.83-170. [6] Hans Bergsten.JavaServer Pages_2nd Edition[M] .O'Reilly, August 2002.1-500.

[7] 李刚.Struts 2.1权威指南——基于WebWork核心的MVC开发[M].北京:电子工业出版社.2009.52-67.

[8] 佩里.Java Servlet & JSP TM经典实例——Reilly Java系列[M].北京:中国电力出版社.2004.117-189.

[9] Vivek Chopra,Jon Eaves,Rupert Jones.JSP程序设计[M].北京:人民邮电出版社.2006.78-101.

[10] Jame Gosling,Bill Joy,Guy L. Steele Jr,Gilad Bracha.Java语言规范[M].北

京:机械工业出版社.2006.1-187.

[11] 何兴昌.JAVA技术发展与应用研究[J].北京.2009,12:37-64.

[12] 郑伟.ASP.NET程序设计与软件项目实训[M].北京.清华大学出版社.2009.21-56. [13] Malcolm Davis.Struts——an open-source MVC implementation[J].IBM System

Journal,2006,44(2):33-37.

[14] Paul C.Jorgensen. Software Testing A Craftsman’s Approach(second

Edition)[M].China Machine Press,2003.170-175.

[15] 张海藩,倪宁. 软件工程(第3版)[M].北京:清华大学出版社.2008.109-133. [16] Ed Yourdon,Larry Constantine. Structured Design[M] . YourDon Press.2006.

98-137.

附 录

Online shopping: more popular than ever, but still not so

satisfactory)

Author: brad Tuttle (beauty)

2009.06.03

According to sales data, according to a large number of consumers to switch to Internet is satisfied with the general we about online shopping continues to increase.By most accounts can learn, it is for electronic commerce a great Internet week increased by 17% than last year, at the same time, online retail sales in the Thanksgiving Day and black rose on Friday. In general, e-commerce payment already more than 15% in the quarter, according to comScore, and 12 days at the end of the quarter will be more than $100 million in online sales.

And, more importantly, December 25th May, but we still stay in the , thanks for Christmas and New Year's increase in the number of popular gift card. \gift CARDS and more discount temptation, the will last for at least by the middle of January.\said: \will make online sales into an\ to online shopping, whether before or after. More commentators want to express their discontent with the online retail. In favor of online shopping one of the biggest issue is that it eliminates the trouble the New York times staff. Here, the playwright Delia Ephron < order messed up, or is a click on the shopping like magic to eliminate a quarter did not give clear limits on some complain. In its annual 24000 consumers online shopping experience, in general, it does not make us feel very a 100 - point of satisfaction scale, online retail as a whole, scored 78 points, 2011 points below the in 2011. Several major retailers announced online customer satisfaction declined significantly, one of the most obvious is J.C. Penney, the weak sales of a year, saw its customer satisfaction rating fell by 6% in the research.

Business week will focus only on those retailers, including fashion online retailer Gilt and the most versatile two lowest rated website at FingerHut. The two companies in the