Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please tell me how can we attach SQL Server database (SQL Server 2005) during installation or after installation using c#.net (desktop application). We can create a form to get details of connection string (user id, pass, server name etc..) . please tell me how can we automatically attach database with SQL Server using .net
Posted

1 solution

Look at the answers given for the similar question asked here[^].
Various article links are present in it that will help you achieve the same.

Have a look at these too:
Creating setup With support for database creation Using VS.NET[^]
Create database during installation of a .NET application [^]
Deploy your Application and Database[^]
 
Share this answer
 
Comments
amsainju 5-Jun-11 10:12am    
thanks for the links i will check it out...thank u
amsainju 19-Jul-11 6:16am    
i reached to a good link surfing through them thanks for ur help

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900