2009-10-08 6 views

Répondre

1

Peut être comme ceci:

SqlConnection connection = new SqlConnection(connectionString); 
SqlCommand command = new SqlCommand("CREATE DATABASE database_name", connection); 
command.Connection.Open(); 
command.ExecuteReader(); 
connection.Close(); 
Questions connexes