SqlConnection myConnection = new SqlConnection(Environment.GetEnvironmentVariable("SqlDbConnectionString"));
myConnection.Open();

SqlCommand myCommand = new SqlCommand();
myCommand.Connection = myConnection;
myCommand.CommandText = "pr_DoSomething";
myCommand.ExecuteNonQuery();

myConnection.Close();
Last modified: March 29, 2021

Author

Comments

Write a Reply or Comment