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
What is the difference between Namespace and Assembly?
What languages does the .net framework support?
Explain the difference between datatable and dataset?
What is the difference between system.applicationexception class and system.systemexception?
source code for how to login a vb.net application ?
What are the difference between structure and class?
what is common type system?
What is the differences between dataset.clone and dataset.copy?
Explain the differences between vb.net and c#, related to oops concepts?
Compare c# and visual basic.net?
What do you mean by serialization and deserialization and it's use.
described weak typing?
Is vb net a scripting language?
Write the role of new keyword?
How a base class method is hidden?