Create Database SQL Server with VB or VB.Net
Hello who can help me, please...
I have tried to Creating a SQL Server database programmatically using VB.NET, but I want to Create using textbox1.text where user can enter database name (Database Location) into textbox1.text. Examples : I want enter to textbox1.text = DBSales or use Browse to search the location where the Database will be saved, and then Database was created with Name DBSales in the location that user choose.
Thank's
Munir ShaikhPosted Jul 30, 2007, 1:10 AM
This will solve your problem, but this is in Windows form check this,
http://www.vbdotnetheaven.com/UploadFile/mahesh/
CreateSQLDatabase04252005064419AM/CreateSQLDatabase.aspx
Regards,
>>Munnamax
Jan MontanoPosted Jul 29, 2007, 11:15 PM
Please post the partial code you have and point where error occurs. and what you want to achieve. Thanks ;)
Antoni ToniPosted Jul 27, 2007, 8:32 AM
Jan MontanoPosted Jul 25, 2007, 9:46 PM
Good day to you. What in particular are you asking for assistance? How far have you gone with your problem? I assume you already did an automation to create a database. But you want the table name to be read from textbox1.text? Please correct me if I am wrong. And when you said " location where the Database will be saved," are you referring to the path the database file will be saved?
Regards,
Jan