How to attach a database in windows application? RRS feed

  • Question

  • User769652460 posted

     I am creating a windows application in VS2005, C#,SQL 2005.

    I want to create a setup with the database inbuild with the project by adding sqlexpress as prerequisites.

    I want to know how to attach the database with the project setup and during installation it must create a database

    in sql express. How to create it and how to give the connection string for the database.

    Thanks in advance

    Monday, October 13, 2008 9:46 AM