Click here to Skip to main content
15,888,157 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need to create a database dynamically from my c# application.when i enterthe database name in a textbox a database with such a name should be created.pls help me by providing the c# code
Posted

Have a look into the below ones. You need to be aware of "SQL Server Management Objects (SMO)"

SMO - Manage your SQL Server![^]

http://technet.microsoft.com/en-us/library/ms162169.aspx[^]
 
Share this answer
 
 
Share this answer
 

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