Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so dont bother with any of their useless mail servers here and just use oauth login instead. Thank the nice Russians for causing that. :)
Paste
Pasted as C# by d ( 16 years ago )
public void save_invalid_mails(string invalidMail)
{
SqlConnection mySqlConnection = new SqlConnection(connectionString);
mySqlConnection.Open();
//Создание SQL-команды
SqlCommand command = new SqlCommand("INSERT INTO invalid (email_invalid) VALUES (@email_invalid)", mySqlConnection);
// Add the parameters for the InsertCommand.
command.Parameters.Add(invalidMail, SqlDbType.NText);
// Закрепление SQL-адаптеру объекта команды
SqlDataAdapter mySqlDataAdapter = new SqlDataAdapter();
mySqlDataAdapter.InsertCommand = command;
mySqlConnection.Close();
//MessageBox.Show(invalidMail);
}
Revise this Paste
Children: 24957