|
-
Jan 1st, 2013, 03:08 AM
#2
Re: How to back up and resotre in windows applicaiton using C#?
Are you saying, without actually saying, that you want to backup and restore the SQL Server database? If so then it's a simple matter of executing an appropriate SQL statement against the server using a SqlCommand, just as you would for any SQL statement. The SQL Server documentation can provide you with the appropriate syntax for a BACKUP DATABASE statement and a RESTORE DATABASE statement.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|