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
Explain about globalization?
What is the difference between convert.tostring and .tostring() method?
Can you please explain the difference between dataset and datareader?
What is the Advantage of vb.net over vb
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.
How to store decimal data in .net?
hello thank you for replying to my question regarding adding barcode fonts in vb.net project. I have downloaded a free font and added in my vb.net project but now i dont know how to use that i need to generate barcodes can any body help me how to use those fonts these are font3of9 .i need a small code to use these fonts to generate barcode thank u!
What is stack used for in vb. Net?
Explain the difference between vb.net and c#, related to oops concepts?
Explain cls?
What are option strict and option explicit?
Explain how to achieve polymorphism in vb.net?
Can you please explain the difference between dispose and finalize()?
Write a program to find all text files in a logical drive and return the count of the number of files?
Explain the observations between vb.net and vc#.net?