1、 摘 要 随 着 互 联网 上商品零售 额 的迅速增 长 , 许 多中小型企 业开 始考 虑 建立自己的 电 子商 务 站点,通 过互 联网 , 即使是小公司也可 能 接 触 到世界上任何地方的客 户 。同 时 ,用 户 通 过 互 联网购买东 西比起其他任何一 种 方式都方便的多。 电 子商 务 的出 现 使得 卖 家和 买 家 实现双赢 。 本文首先介 绍选题 的背景及意 义 , 对开发 所采用的技 术进 行了介 绍 ,然后 对 所 开发 的系 统进 行了需求分析, 概 要 设计 ,最后 编 程 实现 所要求的功能。 此次 毕业设计 的系 统 功能 模 块 分 为 管理 员 模 块 、用
2、户 模 块 。 管理 员 模 块实现 商品管理、 商品 类 的管理、用 户 管理、 订单 管理和 管理 员 管理等功能。用 户 模 块实现 个 人信 息管理, 购 物 车 管理, 网站留言, 订单查 看 ,客服 联 系功能,搜索功能以及注 册 登 录 等功能。 根据需求分析的 结 果,分析待 开发 系 统 中需要的 数 据, 并 依此 设计数 据 库 。 设计 好 数 据 库 后 编 程 实现 所需的功能。由于 编 程中需 频 繁 访问数 据 库 ,因此在 设计 中 编写 了 访问数 据 库 的 类 ,以后 当 需要 访问数 据 库时 直接 调 用此 类来实现 访问 数 据 库 。 编 程中最
3、 关键 的地方在于 购 物 车 的 实现 ,在本 设计 中,本人 建立一 个 哈希表用于存 储购 物 车 的信息, 当 用 户 提交 订单时将购 物 车 中的信息 转 存到 数 据 库 中的 订单 表 ,同 时删 除 购 物 车 中的信息。 系 统开发 完成后 , 对 系 统进 行了 测试 。 测试结 果表明,本系 统实现 了需求分析所定 义 的功能。 关键词: 网 上 购 物, SQL Server2005 , ASP.NET Abstract With the rapid growth of the Internet commodity retail sales , many small
4、and medium-sized enterprise began to consider to build theirown e-commerce site, through the Internet, even small companies may be connect with the customers anywhere in the world. Meanwhile, users can get a lower price and much more convenient than any other way of trade.The appearof electronic bus
5、iness makes sellers and buyers to achieve a win-win situation. This tutorial firstly introduces the background and significance of topic and then the technology of development, and then the development of system of the requirement analysis, general design, finally the programming required functions.
6、 The graduate design system function module can be divided into administrator module, user module. Administrator module carry out commodity management, commodity type management, user management, order management and administrator management, and other functions. User module carry out personal infor
7、mation management, cart management, website message, order view, customer service contact function, search function for registration and login etc. Function. According to demand analysis results for development system, the next stept is analyzes the data needed, so as to design the database. After D
8、esigned the database,programming the function will be nessasary. Due to frequent access database programming, so the design of accessing database of written, later when need access to the database to realize when calling such direct access database. Programming most the place of key lies in the real
9、ization of the shopping cart, this design, I build a hash table for storing information, when users submitted their order,information in the shopping cart will be deliver to database form, mean while delete the shopping cart.s information. After accomplish of developing the system , on the system test. Test results show that this system achieved the demand analysis defined functions. Key words: Online shopping, SQL Server 2005, ASP.NET 目 录