网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > ASP实例
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
网络编程:ASP教程,ASP.NET教程,PHP教程,JSP教程,C#教程,数据库,XML教程,Ajax,Java,Perl,Shell,VB教程,Delphi,C/C++教程,软件工程,J2EE/J2ME,移动开发
本月文章推荐
.利用ASP将HTML格式数据传输给Exc.
.网络寻呼机数据库版显示消息show.
.用ASP开发一个在线考试程序(八).
.开辟一条自由ASP快车道.
.用ASP开发试题库与在线考试系统(.
.使用InstallShield制作ASP安装程.
.使用InstallShield制作ASP安装程.
.用Agent+ASP技术制作语音聊天室.
.利用 WSH 作定时工作流程.
.使用JScript.NET创建asp.net页面.
.通过ASP与ACCESS数据库建立连接(.
.一个投票系统的源程序(coveryour.
.ASP 编程中20个非常有用的例子.
.基于ACCESS数据库的纯asp论坛制作.
.菜鸟详听ASP中也能解压缩rar文件.
.文件的读出 编辑 管理.
.有关站内模糊查询的源程序! .
.调试 ASP 中使用的 Visual Basic.
.ASP环境下邮件列表功能的实现 (.
.使用w3Sockets组件实现域名查询功.

制作我们自己的Ebay(拍卖系统)(3)

发表日期:2000-11-12


Based on the information in the previous section, we have a good understanding of what our database schema should look like. The following tables list our database structure:

tblAuctions
AID:Unique ID to keep track of records Autonumber
StartDate:Date the auction started Date/Time
EndDate:Date the auction is to end Date/Time
SellerID:The ID of the seller. (Foreign key to user table) Integer

tblAuctionItems
IID:Unique ID to keep track of records Autonumber
AID:Which auction does this item belong to? (Foreign key to Auctions table) Integer
Name: Name of the item being sold Text
Description: Description of the item being sold Text
MinPrice: Minimum price to sell (specified by the seller) Money
Increment: Value to increment proxy bids by (specified by the seller) Money
Available: Number of items available to sell Integer

tblAuctionBids
BID: Unique ID to keep track of records Autonumber
IID: Unique ID to keep track of items (foreign key to AuctionItem table) Integer
UID: Unique ID to keep track of bidders (foreign key to AuctionUsers table) Integer
WinPrice :Current price for a user (calculated by application) Money
MaxBid: Maximum price for a user Money
BidItems :The number of items this user bid for Integer
WinItems: The number of items this user would win if the auction ended immediately Integer
Time: The last time this bid was updated Date/Time   

tblAuctionUsers
UID :Unique ID to keep track of records Autonumber
Name :Name of user Text

Note that the above tables are simply used for example. You may decide to store more information for your purposes (i.e., you may store more than just a name in the user table). Already, however, the schema is getting kind of complex - each table has foreign keys to one or more other tables.


NOTE: You can use a pre-existing user table if you wish. We simply provide the tblAuctionUsers table definition for completeness sake.  

上一篇:制作我们自己的Ebay(拍卖系统)(2) 人气:10335
下一篇:制作我们自己的Ebay(拍卖系统)(4) 人气:10430
浏览全部的内容 Dreamweaver插件下载 网页广告代码 祝你圣诞节快乐 2009年新年快乐