using (OleDbCommand cmd = Connection.CreateCommand())
{
cmd.CommandText =
"DELETE FROM DataBase WHERE Code = @code";
// add named parameters
cmd.Parameters.AddRange(new OleDbParameter[]
{
new OleDbParameter("@code", code1)
});
// execute
cmd.ExecuteNonQuery();
}