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
Can you please explain the difference between thread and process?
What is the use of console application?
Explain how can we remove handlers at run time?
Explain global assembly cache (gac)?
How do you define a read only property in a class module?
What is the main use of a namespace?
Can we use Vb.Net and C# language simultaneously in one .Net application?
Explain enumerator?
What is the difference between c# and vb.net?
Why do we use byref keyword in vb.net?
Explain how to achieve polymorphism in vb.net?
What is econo-jit?
What is the source code for display the picture in button click event?
What keyword is used to accept a variable number of parameter in a method?
what is commom language runtime?