Click here to Skip to main content
15,899,126 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,
I need help, I created Sales Inventory System using C# windows application. I got problem in adding more product of customer in just one transaction. For this project I used MySql Database.

Can you help me on how to solve this?


Thanks,
Nico
Posted

1 solution

You do not say which of the .NET providers you are using (ODBC or SQL) so it is difficult to be precise.

This article Using Transactions in ADO.NET[^] covers the techniques. You will have to modify the code it shows to match your provider.
 
Share this answer
 
Comments
fjdiewornncalwe 16-Mar-11 22:58pm    
+5. I was going to suggest the same link.

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