hello.. sir
i don,t know about the store procedure and transaction i am always use Query in my project but that time i have need the transaction/store procedure used for updating two table record plse give me step by step example ....plz i am fresher.....
How to use transaction in asp.net give me a step by step ex.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Vishal GilbileRank #269 · 9.4K pointsPosted Mar 12, 2013, 2:03 AM EDT
you can execute procedure in the following way, well i'm using oracle database but in your case you can go with Sql. Only ADO.Net Classes will change
for e.g.
OracleConnection will become SqlConnection
OracleTransaction will become SqlTransaction etc.
Following is the code for the same.
Hope that Solves your problem.
With Regards,
Vishal Gilbile.