文章导航PC6首页软件下载单机游戏安卓资源苹果资源

pc软件新闻网络操作系统办公工具编程服务器软件评测

安卓新闻资讯应用教程刷机教程安卓游戏攻略tv资讯深度阅读综合安卓评测

苹果ios资讯苹果手机越狱备份教程美化教程ios软件教程mac教程

单机游戏角色扮演即时战略动作射击棋牌游戏体育竞技模拟经营其它游戏游戏工具

网游cf活动dnf活动lol周免英雄lol礼包

手游最新动态手游评测手游活动新游预告手游问答

您的位置:首页网页设计ASP实例 → 制作我们自己的Ebay拍卖系统3

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

时间:2004/11/7 2:52:00来源:本站整理作者:蓝点我要评论(0)

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.  




相关阅读 Windows错误代码大全 Windows错误代码查询激活windows有什么用Mac QQ和Windows QQ聊天记录怎么合并 Mac QQ和Windows QQ聊天记录Windows 10自动更新怎么关闭 如何关闭Windows 10自动更新windows 10 rs4快速预览版17017下载错误问题Win10秋季创意者更新16291更新了什么 win10 16291更新内容windows10秋季创意者更新时间 windows10秋季创意者更新内容kb3150513补丁更新了什么 Windows 10补丁kb3150513是什么

文章评论
发表评论

热门文章 没有查询到任何记录。

最新文章 迅雷新手完全入门手册 asp下面javascript上传图片限制格式大小方法告诉大家网页弹出窗口应用总结ASP常见错误类型大全asp常见错误分析和解决办法

人气排行 总是弹出visual studio 实时调试器 三种解决SQLSERVER存储过程及调用详解Asp获取真实IP地址ASP中连接Mssql的几种方法一个简单好用的UBB编辑器(含代码)如何用Split将字符串转换为数组并获取数组下ASP防止表单重复提交的办法告诉你免费的简单聊天室源代码