Answers for "Go Statement in CSharp"

C#
0

Go Statement in CSharp

string[] commands = sql.Split( 
    new string[]{"GO\r\n", "GO ", "GO\t"}, StringSplitOptions.RemoveEmptyEntries );
foreach (string c in commands)
{
    command = new SqlCommand(c, masterConnection);
    command.ExecuteNonQuery();
}
}
catch (Exception e)
{
    MessageBox.Show(e.Message);
}
finally
{
    masterConnection.Close();
}
}
Posted by: Guest on September-28-2021

C# Answers by Framework

Browse Popular Code Answers by Language