Click here to Skip to main content
15,894,540 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a desktop application whose database is on web server. But the application getting slow as the opening form have some fetching queries. That is why the application goes slow on deleting, saving, fetching and hence lost the flavour of desktop application.
So is there any way so that I can use a local mdf or sdf type database for any operation like delete,fetch,and insert etc. that effect on server database(in background) just like synchronisation. Please give me a demonstration and Example source code.
Sir I am not familiar with synchronisation. Can you Please help me. Thank you in advance
Posted
Comments
Maciej Los 29-Oct-14 6:35am    
How these queries are constructed? Do you use SELECT * FROM TableName?
Wasim Akram (Asansol) 6-Nov-14 0:04am    
yes

1 solution

Please, read this: Ten Common SQL Programming Mistakes[^] before you make a decision to use local database.

I'm almost sure that the main problem is in query performance[^]. There is few ways to increase query execution time[^].

On the other side, it could be the lan-wan connection problem. You need to diagnose it.

Finally...
Syncronization between two databases is possible via linked server[^].
How to Create a Linked Server[^]
 
Share this answer
 

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