How to deploy database created in c# with setup and deployment??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ajinkya7588
    New Member
    • Jan 2010
    • 4

    How to deploy database created in c# with setup and deployment??

    I have created an application which has a SQl database. I want to install that application on clients machine how i could provide database with setup??
  • akshaymahajan
    New Member
    • Sep 2009
    • 12

    #2
    Write a SQL script which runs in your setup and you are done!

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Create an installation application for your application. In the installation program run the SQL script (that akshaymahajan recommended that you implement) that sets up your database.

      -Frinny

      Comment

      • ajinkya7588
        New Member
        • Jan 2010
        • 4

        #4
        how to write SQL Script in intallation application???

        Comment

        • Sl1ver
          New Member
          • Mar 2009
          • 196

          #5
          right click on your database, click script to or something there abouts
          and it writes a whole sql script for the creation of the db, just remember to do the same for all your table. Now just insert the to scripts.

          Comment

          Working...