Promotional Engine
November 9th, 2008, 09:07 PM
Hi all,
I've developed an application that's using SQL Server for DB, now I want to create a setup and give it to users.
For the DB part, I have a simple '.mdf' file that is created with SQL Server and connecting to it like this:
sql_conn = new SqlConnection(@"AttachDBFilename=c:\test.mdf;Integrated Security=true");
then it's a simple connection; but I don't know how to use my DB in the user's computer, I should only copy the .mdf file in the user's computer? what's the exact steps to deploy a SQL DB related application?
I've searched the Internet and some eBooks + MSDN but didn't find anything about that.
I'm working with C# 2.0 WinApp in VS2005 and it's for XP or Vista.
Please answer soon, since I want that in a week.
Thanks in advance.
I've developed an application that's using SQL Server for DB, now I want to create a setup and give it to users.
For the DB part, I have a simple '.mdf' file that is created with SQL Server and connecting to it like this:
sql_conn = new SqlConnection(@"AttachDBFilename=c:\test.mdf;Integrated Security=true");
then it's a simple connection; but I don't know how to use my DB in the user's computer, I should only copy the .mdf file in the user's computer? what's the exact steps to deploy a SQL DB related application?
I've searched the Internet and some eBooks + MSDN but didn't find anything about that.
I'm working with C# 2.0 WinApp in VS2005 and it's for XP or Vista.
Please answer soon, since I want that in a week.
Thanks in advance.