web setup with sql database
-
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--
-
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--
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/
-
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--
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.
-
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.
your replies are so helpful for me. Thanx --junior coder--