Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restore database
Message
 
To
24/05/2010 03:03:28
Vishal Nyamagoudar
Swift Infocom India Pvt Ltd
India
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01465688
Message ID:
01465704
Views:
57
>Hello Everyone,
>
>Any one can explain with example that how can i restore sqlexpress database .bak file in vb.net!!!!..

first you need to have the statement that SQL Server understands.

http://lmgtfy.com/?q=restore+sql+server+database+from+.bak+file that should help;

Once you have the script you pass that in the form of :

mycom.ExecuteNonQuery()

where mycom is loaded with the connection string and script.

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform