Click here to Skip to main content
15,891,895 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to copy .mdf and .ldf files from sql server folders to any other location using c#
Posted
Comments
[no name] 25-Mar-14 7:52am    
The File class has a handy Copy method.

1 solution

You can use the File.Copy method in System.IO

http://msdn.microsoft.com/en-us/library/system.io.file.copy(v=vs.110).aspx[^]
 
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