You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Yes, you can. Most of the samples in the book work with 2005 as well, except for the exercise where you use the database supplied with the book as that one is made with SQL Server 2008.
Just browse to the MDF file to attach it. SQL Server will then also list the LDF in the files to be attached. Select the LDF and click Delete / Remove. When you then attach the database, it'll automatically create a new LDF for you.