Click here to Skip to main content
15,918,742 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: datagrid Pin
Afsal_svpm21-Sep-10 20:18
Afsal_svpm21-Sep-10 20:18 
QuestionRolling Back Inserted Value using Code Pin
indian14321-Sep-10 13:30
indian14321-Sep-10 13:30 
Hi All,

I have a C# application, which inserts or updates values in to some tables in the SQL Server Database. As it does line by line, whenever any insert or update fails, we need to rollback all inserted values. Not only from the same table but from all the tables in which the rows are inserted.
Is there any mechanism to implement it from C# code. Even if it SQL Command I dont have any issues but, I should be able to call that command from C# code. Is there any way to implement all this as one transaction in C# code and roll back it. Is it possible to rollback what is inserted in C# code. Please help me out in this issue.

Any links any suggestions would be of great help. Thanks in advance.
Thanks & Regards,

Md. Abdul Aleem
NIIT technologies

AnswerRe: Rolling Back Inserted Value using Code Pin
Not Active21-Sep-10 15:21
mentorNot Active21-Sep-10 15:21 
GeneralRe: Rolling Back Inserted Value using Code Pin
indian14322-Sep-10 5:10
indian14322-Sep-10 5:10 
AnswerRe: Rolling Back Inserted Value using Code Pin
future383921-Sep-10 15:25
future383921-Sep-10 15:25 
GeneralRe: Rolling Back Inserted Value using Code Pin
indian14321-Sep-10 18:12
indian14321-Sep-10 18:12 
GeneralRe: Rolling Back Inserted Value using Code Pin
Not Active22-Sep-10 2:26
mentorNot Active22-Sep-10 2:26 
GeneralRe: Rolling Back Inserted Value using Code Pin
indian14322-Sep-10 4:29
indian14322-Sep-10 4:29 
GeneralRe: Rolling Back Inserted Value using Code Pin
T M Gray22-Sep-10 4:53
T M Gray22-Sep-10 4:53 
GeneralRe: Rolling Back Inserted Value using Code Pin
indian14322-Sep-10 6:15
indian14322-Sep-10 6:15 
GeneralRe: Rolling Back Inserted Value using Code Pin
T M Gray22-Sep-10 9:03
T M Gray22-Sep-10 9:03 
Questionhow to save both text and image together Pin
Dhyanga21-Sep-10 10:05
Dhyanga21-Sep-10 10:05 
AnswerRe: how to save both text and image together Pin
Abhijit Jana21-Sep-10 10:44
professionalAbhijit Jana21-Sep-10 10:44 
GeneralRe: how to save both text and image together Pin
Dhyanga21-Sep-10 11:31
Dhyanga21-Sep-10 11:31 
GeneralRe: how to save both text and image together Pin
Abhijit Jana21-Sep-10 12:11
professionalAbhijit Jana21-Sep-10 12:11 
GeneralRe: how to save both text and image together Pin
Dhyanga21-Sep-10 12:24
Dhyanga21-Sep-10 12:24 
GeneralRe: how to save both text and image together Pin
Anurag Gandhi22-Sep-10 1:58
professionalAnurag Gandhi22-Sep-10 1:58 
GeneralRe: how to save both text and image together Pin
Dhyanga22-Sep-10 2:48
Dhyanga22-Sep-10 2:48 
Questionerror in inserting data(pls help) Pin
future383921-Sep-10 6:35
future383921-Sep-10 6:35 
AnswerRe: error in inserting data(pls help) Pin
Karthik. A23-Sep-10 8:23
Karthik. A23-Sep-10 8:23 
Questionmobile page width Pin
Jassim Rahma21-Sep-10 5:58
Jassim Rahma21-Sep-10 5:58 
AnswerRe: mobile page width Pin
NeverHeardOfMe21-Sep-10 6:33
NeverHeardOfMe21-Sep-10 6:33 
Questionproblem in generating New Empty Datarow with Empty TextBoxes in Gridview on ButtonClick Pin
Amit Spadez21-Sep-10 0:01
professionalAmit Spadez21-Sep-10 0:01 
AnswerRe: problem in generating New Empty Datarow with Empty TextBoxes in Gridview on ButtonClick Pin
Not Active21-Sep-10 2:27
mentorNot Active21-Sep-10 2:27 
QuestionDataObjectMethod Pin
future383920-Sep-10 14:31
future383920-Sep-10 14:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.