Ejemplo: conexión sql c #
private static void CreateCommand(string queryString,
string connectionString)
{
using (SqlConnection connection = new SqlConnection(
connectionString))
{
SqlCommand command = new SqlCommand(queryString, connection);
command.Connection.Open();
command.ExecuteNonQuery();
}
}
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)