Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to restore database using vb.net?

Answer Posted / abhijit r. mandavgane

imports microsoft.win32

dim svr as new SQLDMO.SQLServer

svr.executeImmediate("RESTORE DATABASE<DATABASE NAME> FROM
DISK =<DATABASE PATH NAME> WITH REPLACE")

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you please explain the difference between thread and process?

990


What is the use of console application?

1113


Explain how can we remove handlers at run time?

1004


Explain global assembly cache (gac)?

1161


How do you define a read only property in a class module?

944


What is the main use of a namespace?

984


Can we use Vb.Net and C# language simultaneously in one .Net application?

1010


Explain enumerator?

921


What is the difference between c# and vb.net?

1006


Why do we use byref keyword in vb.net?

1058


Explain how to achieve polymorphism in vb.net?

943


What is econo-jit?

1143


What is the source code for display the picture in button click event?

1156


What keyword is used to accept a variable number of parameter in a method?

1023


what is commom language runtime?

974