TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
satheesh babu
NA
128
312.5k
How to handle the data base insert or updates in code behind page?
Sep 15 2011 2:15 AM
Hi all,
I have a customer transaction page. And in this i am doing insert and updates in 7 tables. I wrote below code and sending the data to data base.
btnSubmit_click(object sender, EventArgs e){
insertNewLoan();
updateCustomerThroughLoan();
updatePartyThroughLoan();
insertAccount();
insertCustTransactionbyLoan();
insertPartyTransaction();
insertLoanInstallment();
}
so my query is if any one of the insertion or update is fail, then i need to cancel my previous insert or update statements.
Please help me on this
Thank you.
Reply
Answers (
1
)
Difference between .net framework
Difference language