摘 要
近年来,随着Internet的迅速崛起,互联网已成为收集发布信息的最佳渠道并逐步进入传统的流通领域。于是电子商务开始流行起来,越来越多的商家在网上建立在线商店,向消费者展示出一种新颖的购物理念。
基于.net的皮革城电子商务网站,打破了传统的购买皮货只能到实体店的方式。通过本网站可以方便的在网上购买皮货,突破了地域和时间上的限制,不需要建立很庞大的店面,从而提高了工作效率,节约了成本;采用了多种支付方式,可满足不同的人群;管理员可以对商品、用户,管理员、公告、广告、评论、消息等进行方便灵活的管理;购物车功能模拟了传统购物方式中的购物车,使用户感觉到在线购物的方法和传统的购物方法非常相似,使购物更加简单、方便、易行。
系统的实现技术采用了当前很成熟而且也非常流行的ASP.NET技术,由于asp.net具有性能高,多种语言的支持功能,可扩展性和伸缩性强,开发效率高等诸多优点,所以我采用了ASP.NET技术来开发系统,而且要是ASP.NET技术和SQL Server 数据库配合使用那更是中小型企业的上上之选。为了方便代码的管理、提高开发效率和代码的重用性,系统中分别采用了三层架构的代码管理方式和组建,用户控件、自定义服务器控件的使用。
关键词 皮革城,网上购物,ASP.NET, SQL Server 2000,购物车,三层架构 ABSTRACT
In recent years, with the rapid rising of the Internet, the Internet has become the best channel of collection issue information and gradually enters the traditional circulation area. So the electronic commerce starts to get up popularly, more and more merchants establish the on-line shops, suggest one kind of new shopping idea to the consumer.
This development of graduation project is the on-line leather city shopping mall based on .net, broke the traditionally way to buy the leather products only have to arrive the stores. To break through in the region and the time limit, people do not need to establish the very huge shop front, thus enhanced the working efficiency and saved the cost; using the all kinds of payments method, may satisfy the different crowd; The managers are able to carry on the convenience management for the products, the user, the manager, the announcement, the advertisement, the commentary, the news and so on. The shopping vehicle simulate the function of traditional shopping vehicle, causes the user to feel on-line shopping method and traditional shopping method extremely similar, simply causes the shopping to be convenient and easy.
This realization technology of system has used currently very mature and the extremely popular ASP.NET technology, due to ASP.NET has many merits such as the high performance, all kinds of languages support function, the strong extension and the elasticity, development efficiency is higher. Therefore I used the ASP.NET technology to develop this system, if the ASP.NET technology and SQL the Server database joined, which is the good way of small and medium-sized enterprise’ in electing. For the convenience code management, the improvement of development efficiency and the code entrust with heavy responsibility the nature, this system has separately selected three overhead constructions code management methods and sets up, the user controls, the use of from definition in the server to control.
Keywords Leather City, On-line Shopping Mall, ASP.NET, SQL Server 2000, Shopping vehicles, Three Overhead Constructions
目录
摘 要 I
ABSTRACT II
第1章 绪论 1
1.1 设计背景 1
1.2 国内外的研究现状 2
1.3 课题研究的目的和意义 3
1.4 设计方法 4
第2章 ASP.NET技术介绍 5
2.1 ASP.NET概述 5
2.1.1 ASP.NET的5大内置对象及其功能 5
2.1.2 客户机/服务器结构 5
2.1.3 C/S模式的主要优点 6
2.2 数据库访问技术 7
2.2.1 ADO 7
2.2.2 ASP.NET利用ADO.NET访问数据库 9
2.3 数据库SQL Server 2000 10
2.4 客户/服务器程序设计原则 11
第3章 系统总体设计 12
3.1 用户注册流程 12
3.2 购物流程 12
3.3 功能模块划分 13
3.4 系统前台需求 14
3.5 系统后台需求 15
3.6 数据库设计 15
3.6.1 数据库概念结构设计 16
3.6.2 数据库逻辑结构设计 21
3.6.3 数据库详细设计 21
3.7 通用模块设计 27
3.8 系统总体设计思想 29
3.8.1 用户控件 29
3.8.2 管理员登录 29
3.8.3 购物车的运用 30
第4章 系统模块设计与实现 31
4.1 系统前台功能模块 31
4.1.1 网站主页面 31
4.1.2 用户注册页面 33
4.1.3 产品分类页面 34
4.1.4 企业分类页面 35
4.1.5 购物车页面 36
4.1.6 用户管理页面 38
4.1.7 用户评论页面 38
4.2 后台功能模块 40
4.2.1 管理员界面 40
4.2.2 商品管理功能 40
4.2.3 企业信息管理功能 42
4.2.4 用户管理功能 43
4.2.5 订单管理功能 45
第5章 运行和测试 47
第6章 结论 51
致谢 52
参考文献 53