Dear The Expert,

For the 1st time running my vb.net application needs to attach db to sql server.. .. and for some purposes my vb.net application is also need to detach db from sql server.. how to deal with these two functions (attach and detach db to/from sql server) .. I need advice .. thanks a lot in advance

Regards
Winanjaya