|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
sql transaction with table adapterI have tried your solution on my project. There are four tables in sql server 2005 express, that form a tree (table1 has foreign key to table2, table2 to table3, and table3 to table4) Firstly, I insert into table4, then table3, table2 and last table1. But when inserting into table1, trouble arise as it stated time out "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding." When I change the sql table relation (enforce foreign key constraint to "no") for the last table(table1). it works alright, but it's not what I want to ( it didn't check the integrity) Please advise Thanks, appriciate all reply Sincerely, Moniq EggHeadCafe - .NET Developer Portal of Choice http://www.eggheadcafe.com |
|||||||||||||||||||||||