Create Database at Runtime RRS feed

  • Question

  • Hello all,

    I am making an application in WPF C# 4.0 .
    I want to build it in such a way that when the application is installed it first look for where to install the database. I want the database to be installed remotely . I have my sql script and I want to run it at first . Next when I start the application it should be automatically get connected to the database . That means that I want to store the connectionstring in my app.config file . How can I do it ?

    Any help or suggestions ?


    Dipayan Sukul

    • Moved by Bob Beauchemin Tuesday, June 26, 2012 8:01 AM Moved to a more appropraite forum for SQL Server client questions (From:.NET Framework inside SQL Server)
    Sunday, June 24, 2012 7:59 PM