Click here to Skip to main content
15,903,030 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have Master Details table in database.on from i am inserting all input at a time.firstly i am inserting data in to master table and after that in details table.
I got a problem like data in master table is filled accurately and while trying to insert data into details table it will raised error and data is not get stored in the details table...as i have not used sql transaction now my Master table contains a row which don't have details information in details table,so this will raise errors while trying to fetch data...How To Solve this ...Please Help
Posted

 
Share this answer
 
SQL transactions in .NET[^]

code is of asp.net but you can use codebehind code in C#
 
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