I want to attach SQL Server 2005 database at runtime.
Can this be achieved without using local instance of SQL Server i.e. even without SQL Server Express?
Currently I'am using following connection string is there any other workaround.
Server=.\SQLExpress;AttachDbFilename=|DataDirectory|mydbfile.mdf; Database=dbname;Trusted_Connection=Yes;
Thanks, Lalit