How to create a database and populate it during setup
Posted
by Philippe
on Stack Overflow
See other posts from Stack Overflow
or by Philippe
Published on 2009-03-05T17:05:33Z
Indexed on
2010/05/09
5:18 UTC
Read the original article
Hit count: 366
I would like to find a way to create and populate a database during asp.net setup.
So, what I'm willing to do is:
- Create the database during the setup
- Populate the database with some initial data (country codes or something like that)
- Create the appropriate connection string in the configuration file
I'm using .NET 3.5 and Visual Studio 2005, and the Database is SQL Server 2005.
Thanks in advance.
© Stack Overflow or respective owner