Click here to Skip to main content
16,020,877 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi. I want to know if I can have a backup in sql compact just like sql server... and if I can then can someone help me the code.I really need help
Posted

1 solution

The only information I was able to find on making a backup of SQL Compact is to close all open connections and use File.Copy[^] to make a copy of the .sdf file.
 
Share this answer
 
Comments
Simon Bang Terkildsen 1-Oct-11 17:53pm    
+5, that's the only way I can think of as well.
André Kraak 1-Oct-11 17:55pm    
Thanks, Simon.
TugBest 31-Dec-11 9:12am    
thanks

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