PC Review


Reply
Thread Tools Rate Thread

restoring a database from csharp

 
 
Sherif
Guest
Posts: n/a
 
      18th Jun 2004
I'm making an application using csharp to connect to a
database made by MSSql Server and i've already done backup
for the database from the csharp and i need now to know
how can i restore the database back by using csharp code.
 
Reply With Quote
 
 
 
 
Dmitriy Lapshin [C# / .NET MVP]
Guest
Posts: n/a
 
      18th Jun 2004
Hello,

You can possibly import the SQLDMO type library with tlbimp.exe and do the
restore by means of SQL DMO.

--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx

"Sherif" <(E-Mail Removed)> wrote in message
news:1e41b01c45519$11249510$(E-Mail Removed)...
> I'm making an application using csharp to connect to a
> database made by MSSql Server and i've already done backup
> for the database from the csharp and i need now to know
> how can i restore the database back by using csharp code.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not seem to get Csharp to talk to the sql compact 3.5 database Mike Microsoft C# .NET 5 1st Mar 2010 09:43 PM
Compact Access Database from CSharp Benny Raymond Microsoft C# .NET 5 19th Nov 2005 05:07 AM
csharp windows app and local database DKode Microsoft C# .NET 4 17th Jun 2004 10:00 PM
csharp windows app and local database? DKode Microsoft Dot NET 1 17th Jun 2004 02:44 AM
Restoring old mails in "inbox " after restoring user profile tataemma Microsoft Windows 2000 1 14th Jan 2004 11:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:11 AM.