Please see -
http://blogs.msdn.com/dataaccess/arc...28/486273.aspx
- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.ma.../13/63199.aspx
----------------------------------------------------------------------------
"ad" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I use asp.net 2.0 and SqlServer 2005 Express to develop my Web application
> The database file of my applicaiton is "db.mdf", I put it in "myDB"
> directory under the application folder.
>
> I want to attach the mdf file when application start. How can I do that?
>
>