Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42225

Sql Transaction

$
0
0
I am doing desktop application in C# and SQL Express 2008 R2 i have 1 form in which i have 1 Data Grid and some text boxes
their are 4 tables in which multiple records get inserted from the data grid through a loop
and every table is having a unique id which gets generated through a method by get max from the table
I am using begin Transaction and commit between this i have written all this method of insertion
its working only for the first record when the loop go to the next record its giving error

"Timeout expired. The Timeout period elapsed prior to completion of the operation or the server is not responding"

Viewing all articles
Browse latest Browse all 42225

Trending Articles