Click here to Skip to main content
15,906,766 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,
i have a small question

In my network there is another machine contains sqlserver.Now i want to take the backup of the database from another machine to my mcahine's localdisk location
if any one have any code plz provide me..
please guide me...
Posted
Updated 4-Apr-12 23:51pm
v2

1 solution

Hi,
Take a look at this post:
SQL Server 2005 Database Backup and Restore using C# and .NET 2.0[^]

I hope it helps
 
Share this answer
 
Comments
hitech_s 6-Apr-12 6:15am    
i saw the link u posted . but its not working for the machine that is in the network.
i mentioned in my question that am working on my machine and database server is in another machine which is in same network

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