Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. web setup with sql database

web setup with sql database

Scheduled Pinned Locked Moved ASP.NET
databasecsharpasp-nettutorialquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hakanaktan
    wrote on last edited by
    #1

    Hi, i need to deploy my asp.net project but i do not know how to add a sql database into setup. i read something about installer class but could not understand clearly.. would you advice an article about this subject? thanx in advance --junior coder--

    V M 2 Replies Last reply
    0
    • H hakanaktan

      Hi, i need to deploy my asp.net project but i do not know how to add a sql database into setup. i read something about installer class but could not understand clearly.. would you advice an article about this subject? thanx in advance --junior coder--

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      Installer class methods can be invoked. So you can have an appropriate method to connect to the database, create tables etc. Deepak Kumar Vasudevan Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/

      1 Reply Last reply
      0
      • H hakanaktan

        Hi, i need to deploy my asp.net project but i do not know how to add a sql database into setup. i read something about installer class but could not understand clearly.. would you advice an article about this subject? thanx in advance --junior coder--

        M Offline
        M Offline
        minhpc_bk
        wrote on last edited by
        #3

        Hi there, You can take a look at this walkthrough[^] to see how to specify a custom action in a setup project to execute the SQL script at the installation time. To implement the custom action, you add a class to your application project and this class basically inherits from the Installer base class. In this class, you can provide your code to execute the SQL script in the overriden Install method. For more information, you can check out the Installer class in MSDN.

        H 1 Reply Last reply
        0
        • M minhpc_bk

          Hi there, You can take a look at this walkthrough[^] to see how to specify a custom action in a setup project to execute the SQL script at the installation time. To implement the custom action, you add a class to your application project and this class basically inherits from the Installer base class. In this class, you can provide your code to execute the SQL script in the overriden Install method. For more information, you can check out the Installer class in MSDN.

          H Offline
          H Offline
          hakanaktan
          wrote on last edited by
          #4

          your replies are so helpful for me. Thanx --junior coder--

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups