摘要
在产品量很大、更新频繁的时候,使用产品发布系统,方便快捷。管理员使用产品发布系统,将会对产品的管理起到很大的方便。产品名称及其对应的信息都在数据库中保存,可以提供用户查询,产品发布系统可以使管理员方便快捷的对产品进行修改、添加、删除、图片编辑等。企业在网站上发布产品信息,是企业网站建设必须的也是最重要的。企业的产品数据会经常变化,以静态网页形式发布产品已经不适应这变化需求,该产品发布系统是一套基于数据库的即时发布系统,可用于各类产品的实时发布,前台用户可通过页面浏览查询,后台管理可以管理产品价格、简介、样图等多类信息。
系统采用B/S结构,服务器端采用sql server 2000数据库,中间层采用asp语言开发,客户端采用IE浏览器形式运行程序。在服务器上建立一个sql server数据库,在数据库中建立一张表,用于保存产品信息。Asp通过ADO与sql server数据库相连。产品图片上传采用asp的Adodb.Stream组件,通过二进制形式将客户端图片上传到服务。前台用户可通过页面浏览查询,后台可以管理产品信息、图片等多种信息。
关键词:B/S结构, ASP, SQL Server2000, IE 浏览器
ABSTRACT
In the tremendous volume of products, updated frequently, the use of the product distribution system is convenient and quick. Administrators using product release, It will bring a great convenience for the product management. Product names and the corresponding information in the database is preserved, it can provide users inquiries, Product Release System can make administrators efficiently modify the Product, add, delete, edit photos and so on. Enterprises advertising on its Web site, it is the most important for enterprises to build the website. Because enterprise product data frequently changes, the form of static pages releasing products no longer meets changing needs. This system is a database-based system immediately released, can be used for all types of real-time products, future users may browse through pages inquiries, background management can manage product prices, descriptions like many other types of map information.
The system uses B/C structure, sql server 2000 database for the server, the asp language development for the middle layer and the IE browser for the client makes to run program. We build a sql server database at the server which is used for keeping the information of the product. ASP connects with sql server database through ADO, the product pictures are uploaded by the Adobe. stream subassembly of asp and delivered to server by the binary system. The foreground users could query information via page browse while the back ground could manage various of information such as product information, pictures,etc.
Keywords: B/S structure, ASP, SQL server2000, IE BROWSER
目录
摘要 I
ABSTRACT II
1.1 选题的背景与意义 1
1.2 开发的主要任务与目标 1
第2章 开发工具的选用及介绍 3
2.1 ASP的优势 3
2.2ASP的特点 3
第3章 系统的分析设计 5
3.1对产品发布系统的分析 5
3.2系统建设目标 5
3.3系统设计原则 5
3.4主页设计 7
3.2.1 条件输入区 8
3.2.2 产品列表区 8
3.2.3 信息编辑区 8
3.5 数据库设计 8
第4章 系统功能分析及模块设计 11
4.1系统的总体结构 11
4.2 程序的流程 11
4.3 程序的流程 12
4.2.1 产品搜索 13
4.2.2 增加产品 13
4.2.3 修改产品信息 13
4.2.4 删除产品信息 14
4.2.5 图片上传 14
4.2.6 图片删除 14
4.2.7 图片浏览 14
4.3系统的框架网页 14
4.4数据库结构 16
4.4.1产品表 16
4.4.2产品图片表 17
4.4.3 基础数据表 17
4.5 ASP与SQL server2000数据库 17
4.5.1连接数据库 17
4.5.2 ASP向SQL server2000取数据 18
4.5.3 保存数据 18
第5章 毕业设计总结 19
第6章 致谢 20
参考文献 21