Click here to Skip to main content
15,889,335 members
Home / Discussions / C#
   

C#

 
GeneralRe: HttpListener.BeginGetContext Pin
N a v a n e e t h9-Jun-08 16:10
N a v a n e e t h9-Jun-08 16:10 
GeneralRe: HttpListener.BeginGetContext Pin
George_George9-Jun-08 16:28
George_George9-Jun-08 16:28 
GeneralRe: HttpListener.BeginGetContext Pin
N a v a n e e t h10-Jun-08 7:24
N a v a n e e t h10-Jun-08 7:24 
GeneralRe: HttpListener.BeginGetContext Pin
George_George11-Jun-08 2:30
George_George11-Jun-08 2:30 
Questionspecified DataTable EventHanlder Pin
climbah4-Jun-08 23:21
climbah4-Jun-08 23:21 
AnswerRe: specified DataTable EventHanlder Pin
johland5-Jun-08 1:01
johland5-Jun-08 1:01 
GeneralRe: specified DataTable EventHanlder Pin
climbah5-Jun-08 2:14
climbah5-Jun-08 2:14 
QuestionSqlTransaction Rollback Pin
Navneet Hegde4-Jun-08 23:05
Navneet Hegde4-Jun-08 23:05 
Hi,
I am using a block of code to Import the Data to SQLServer2000

try
sqlTransaction sqlTran;
{
   using (sqlTran = MyConnnection.BeginTansaction )
      try
      { 
         ImportData();
         sqlTran.Commit();
      }
      catch(Exception ex)
      {
         sqlTran.Rollback()
      }  
}
catch
{}

Now as the Process start's If in middle of the Process I close the Window
the Process stop's, But the related tables in DB doesn't respond
Is that because rollback() is not called.If yes then Is it possible to calls Rollback in such situation.

Thanks

Navneet Hegde

Develop2Program & Program2Develop

AnswerRe: SqlTransaction Rollback Pin
Ashfield5-Jun-08 0:32
Ashfield5-Jun-08 0:32 
GeneralRe: SqlTransaction Rollback Pin
Navneet Hegde5-Jun-08 0:45
Navneet Hegde5-Jun-08 0:45 
GeneralRe: SqlTransaction Rollback Pin
leppie5-Jun-08 1:18
leppie5-Jun-08 1:18 
GeneralRe: SqlTransaction Rollback Pin
Navneet Hegde5-Jun-08 1:28
Navneet Hegde5-Jun-08 1:28 
GeneralRe: SqlTransaction Rollback Pin
Ashfield5-Jun-08 3:13
Ashfield5-Jun-08 3:13 
GeneralRe: SqlTransaction Rollback Pin
PIEBALDconsult5-Jun-08 4:54
mvePIEBALDconsult5-Jun-08 4:54 
AnswerRe: SqlTransaction Rollback Pin
PIEBALDconsult5-Jun-08 4:42
mvePIEBALDconsult5-Jun-08 4:42 
QuestionHow can i know witch language is active in the language bar ? ? Pin
Yanshof4-Jun-08 22:11
Yanshof4-Jun-08 22:11 
AnswerRe: How can i know witch language is active in the language bar ? ? Pin
leppie4-Jun-08 22:59
leppie4-Jun-08 22:59 
GeneralRe: How can i know witch language is active in the language bar ? ? Pin
Yanshof4-Jun-08 23:06
Yanshof4-Jun-08 23:06 
GeneralRe: How can i know witch language is active in the language bar ? ? Pin
leppie5-Jun-08 1:19
leppie5-Jun-08 1:19 
QuestionProblem in Calling an MS Access Stored Procedure which in turn calls a Macro Function Pin
Rafferty Uy4-Jun-08 21:37
Rafferty Uy4-Jun-08 21:37 
AnswerRe: Problem in Calling an MS Access Stored Procedure which in turn calls a Macro Function Pin
leppie4-Jun-08 23:00
leppie4-Jun-08 23:00 
GeneralRe: Problem in Calling an MS Access Stored Procedure which in turn calls a Macro Function Pin
Rafferty Uy5-Jun-08 0:31
Rafferty Uy5-Jun-08 0:31 
GeneralRe: Problem in Calling an MS Access Stored Procedure which in turn calls a Macro Function Pin
leppie5-Jun-08 1:57
leppie5-Jun-08 1:57 
GeneralRe: Problem in Calling an MS Access Stored Procedure which in turn calls a Macro Function Pin
Rafferty Uy5-Jun-08 4:05
Rafferty Uy5-Jun-08 4:05 
Questionmonitor for handle leak Pin
George_George4-Jun-08 20:48
George_George4-Jun-08 20:48 

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.