1、I 摘 要 网上书店系统 是一个基于 ASP.NET 技术和 SQL Server 数据库 开发的系统。本论文首先介绍了网上书店系统开发的背景,然后详细描述了系统分析和数据库设计,最后又详细介绍了网上书店系统的模块设计与实现。 通过本系统管理员可以通过 Web 浏览器进入后台,实现网上图书添加、删除、图书分类管理及定单管理、用户管理等功能和用户登录、注册,在站内进行搜索等功能。系统运行后,操作界面简单流畅,实用性强。 关键词: 网上书店;数据库; ASP.NET ABSTRACT Online bookstore system is a based on ASP technology and
2、 SQL Server database development system. This paper firstly introduces the background of the development of online bookstore system, then describes the detailed system analysis and database design, then introduced the module of online bookstore system design and implementation. Through the system ad
3、ministrator can through the Web browser into the background, the realization of online books add, delete, book classification management and order management, customer management function and user login, registered, standing in within the search, and other functions. After the operation of the syste
4、m, operation interface is simple and fluent, the function is strong. Key words:Online bookstore;Database;ASP.NET II 目 录 1 绪论 . 1 1.1 课题背景 . 1 1.2 开发目标 . 1 2 系统分析 . 2 2.1 需求分析 . 2 2.2 可行性分析 . 2 2.2.1 需求可行性 . 2 2.2.2 技术可行性 . 2 3 总体设计 . 4 3.1 设计方案 . 4 3.2 数据库设计 . 4 3.2.1 数据库概念设计 . 4 3.2.2 数据库 E-R图 . 5
5、3.2.3 数据库逻辑结构设计 . 5 3.3模块划分 . 7 4 实现数据库访问层 . 10 4.1 一般数据库操 作的封装 . 10 4.2存储过程操作的封装 . 12 5 详细设计与实现 . 13 5.1 用户管理模块 . 13 5.1.1 用户注册 . 13 5.1.2 用户登录 . 14 5.1.3 找回丢失密码 . 15 5.1.4 修改个人信息 . 16 5.2 图书管理模块 . 17 5.2.1 管理图书类别 . 18 5.2.2 添加、删除、修改图书信息 . 19 5.2.3 列表显示图书 . 20 5.2.4 搜索图书 . 20 5.3 购物车管理模块 . 22 5.3.1 查看购物列表 . 22 5.3.2 结账 . 23 5.4 订单管理模块 . 24 5.4.1 客户订单管理 . 24 5.4.2 管理员订单管理 . 25 5.5 后台管理模块 . 27 5.5.1 查询用户信息 . 28