Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 如何建立在线销售的数据库?_Asp.net_Database Design_Point Of Sale - Fatal编程技术网

Asp.net 如何建立在线销售的数据库?

Asp.net 如何建立在线销售的数据库?,asp.net,database-design,point-of-sale,Asp.net,Database Design,Point Of Sale,我有一张我老板做的桌子。。。它们是两张桌子 first where products are going to be has (table A) idinvoice (since table B) idpruduct description (it is the name of product) quantity unitPrice TotalPrice another table (i am going to call it table B) idinvoice date deadline

我有一张我老板做的桌子。。。它们是两张桌子

first where products are going to be has
(table A)

idinvoice (since table B)
idpruduct
description (it is the name of product)
quantity
unitPrice
TotalPrice

another table (i am going to call it table B)
idinvoice
date
deadline
type
idclient
saler (i consider it is sooo bad)
street
transport
status
Total
为什么我认为这是不好的

因为首先客户会选择产品(但它没有发言权) 我从来没有做过这样的东西,只是在windows窗体上,但我从来没有建立过在线积分销售


你认为我必须有几张桌子?(哪些列)

您需要三张表。它们可能类似于:

  • 产品:idpruduct,描述(产品名称),单价

  • 客户:idclient,street

  • 发票:IDVoice、idclient、saler,以及与一个或多个产品的装运或销售相关的所有其他内容

  • 您可能还需要:

  • 销售员或销售员:姓名、身份证号码(也可能是身份证客户)
  • 首先,这听起来接近正确吗