Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Everyone

I had created an application to transfer complete data of one database to another database and it almost working the way i want but there are some problems in which i m facing and i m not getting how to resolve it.
The problems is
When the application transfer data of a table having a large amount of data(1 lakh records approx) to another table it hangs up and displays timeout problem and hangs up and the GUI become white blank screen displaying not responding message. Is there any solution to both these problem.

Thanxs in advance
Posted

1 solution

Hello,

Have you tried using SqlBulkcopy class?

Following links might help you..
SQL Bulk copy method to insert large amount of data to the sql database[^]

Transferring Data Using SqlBulkCopy[^]
 
Share this answer
 
Comments
tishi208 24-Jul-14 8:37am    
thanxs for your solution but i am not copying the data from one database to another i am inserting and updating data row by row from one database to another...is there any other solution for this then please let me know..thanxs
Prakriti Goyal 24-Jul-14 8:49am    
could you mention your code??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900