hi
i want my application when installed to make sure that my database is instaled on sqlserver if not than my application should created itself
my friend told me to write the code that create the datbase and the tables
( CREATE DATABASE var1 .........) in the class install
but i have more than 8 tables and that will be a long code to affect it to the SqlCommand
so is there any other way to make my application create the database when installed
PS : sorry for my english
i want my application when installed to make sure that my database is instaled on sqlserver if not than my application should created itself
my friend told me to write the code that create the datbase and the tables
( CREATE DATABASE var1 .........) in the class install
but i have more than 8 tables and that will be a long code to affect it to the SqlCommand
so is there any other way to make my application create the database when installed
PS : sorry for my english