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
How can we store decimal data in .net?
Name the two main parts of .net?
Describe about visual basic.net?
Write a program that would find the nth term of a geometric progression, given the value of first term and common ratio. Any inbuilt function that the language provides for calculating exponent should not be used.
Explain redim keyword?
What do you mean by serialization?
Define clr?
What is difference between metadata and manifest?
Explain the difference between vb.net and c#, related to oops concepts?
what is commom language runtime?
Explain about visual basic?
What is enumerator?
Why do we use byref keyword in vb.net?
Explain i.tostring method?
Tell us how many languages are supported by .net?