Click here to Skip to main content
16,006,355 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionask for VB6.0 Pin
sovannarith24-Apr-06 0:10
sovannarith24-Apr-06 0:10 
AnswerRe: ask for VB6.0 Pin
CWIZO24-Apr-06 0:24
CWIZO24-Apr-06 0:24 
AnswerRe: ask for VB6.0 Pin
Dave Kreskowiak24-Apr-06 6:14
mveDave Kreskowiak24-Apr-06 6:14 
Questioncommit/rollback Pin
isroavi23-Apr-06 23:41
isroavi23-Apr-06 23:41 
AnswerRe: commit/rollback Pin
CWIZO24-Apr-06 0:01
CWIZO24-Apr-06 0:01 
GeneralRe: commit/rollback Pin
isroavi24-Apr-06 0:19
isroavi24-Apr-06 0:19 
GeneralRe: commit/rollback Pin
CWIZO24-Apr-06 0:23
CWIZO24-Apr-06 0:23 
AnswerRe: commit/rollback Pin
Steve Pullan24-Apr-06 2:40
Steve Pullan24-Apr-06 2:40 
My suggestion is to run that part of the db update code as a stored procedure which is called from your program. Place the Begin Transaction ... Commit ... Rollback etc as required in that stored procedure.

That way it is SQL Server's responsibility for the transaction and it doesn't matter if you lose the network connection.

You may also like to investigate the command timeout parameters on your server and/or on your db connection object.

...Steve

1. quod erat demonstrandum
2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life."
I read that somewhere once Smile | :)
GeneralRe: commit/rollback Pin
isroavi24-Apr-06 15:30
isroavi24-Apr-06 15:30 
Questionhow to invoke click event in datagird Pin
rahulnair23-Apr-06 23:00
rahulnair23-Apr-06 23:00 
AnswerRe: how to invoke click event in datagird Pin
isroavi23-Apr-06 23:46
isroavi23-Apr-06 23:46 
QuestionInsert data to Database Pin
lucdt23-Apr-06 21:46
lucdt23-Apr-06 21:46 
AnswerRe: Insert data to Database Pin
Dave Kreskowiak24-Apr-06 6:15
mveDave Kreskowiak24-Apr-06 6:15 
GeneralRe: Insert data to Database Pin
lucdt24-Apr-06 15:26
lucdt24-Apr-06 15:26 
GeneralRe: Insert data to Database Pin
lucdt24-Apr-06 15:28
lucdt24-Apr-06 15:28 
QuestionDatabase Pin
ADY00723-Apr-06 21:41
ADY00723-Apr-06 21:41 
AnswerRe: Database Pin
Colin Angus Mackay24-Apr-06 1:30
Colin Angus Mackay24-Apr-06 1:30 
Questionexcel app Pin
sudharsong23-Apr-06 20:16
sudharsong23-Apr-06 20:16 
AnswerRe: excel app Pin
PremalathaP24-Apr-06 21:01
PremalathaP24-Apr-06 21:01 
GeneralRe: excel app Pin
sudharsong24-Apr-06 23:07
sudharsong24-Apr-06 23:07 
QuestionPlease Help Pin
krishsrini23-Apr-06 19:48
krishsrini23-Apr-06 19:48 
AnswerRe: Please Help Pin
Dave Kreskowiak24-Apr-06 6:09
mveDave Kreskowiak24-Apr-06 6:09 
Questionhow to install VB98 Pin
sieucauthu23-Apr-06 19:06
sieucauthu23-Apr-06 19:06 
AnswerRe: how to install VB98 Pin
Christian Graus23-Apr-06 19:31
protectorChristian Graus23-Apr-06 19:31 
AnswerRe: how to install VB98 Pin
Steve Pullan23-Apr-06 19:31
Steve Pullan23-Apr-06 19: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.