Click here to Skip to main content
15,894,720 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello, I'm new in C#, so sorry my simple question:

I'm design a POS (Point Of Sale) where I have 3 DB's: Customers, Suppliers and Products.

To register one sale I need to select a Customer and as many Products they need.

Once a sale can have many itens, my question is: how is the best way to store the sale? Using a DB or using a text file for each sale with all itens?

Best Regards

Leo
Posted
Updated 24-Sep-14 12:14pm
v2
Comments
[no name] 24-Sep-14 18:24pm    
Since you already have a database setup, why don't you just use that?
Sergey Alexandrovich Kryukov 24-Sep-14 18:52pm    
3DB's!? Really? Maybe 3 tables? What's the problem?
—SA

1 solution

"how is the best way to store the sale?"

INSERT statements.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900