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 we use Vb.Net and C# language simultaneously in one .Net application?
Define clr?
What is different between web.config and machine.config and where it will be ?
What are the technology areas that microsoft.net contains?
Explain what observations between vb.net and vc#.net?
What is pre-jit?
Explain cts?
Which class allows an element to be accessed using unique key?
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.
What are the features present in vb 2005?
Explain about the keyword must inherit?
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 common language specification?
my project run very wel in my sytem yhen i am deploying my project on client machine ,after deployment i run my project then it show " can no find server name " what i do .
Explain the use of serialization and deserialization?