I can't run a correct query on visual studio – Phpmyadmin
I think the problem is in the format. I have this code in the class: public DataTable CheckDate(DateTime day) { MySqlCommand command = new MySqlCommand("SELECT * FROM `appuntamenti` WHERE `date`='@date'", conn.getConnection()); command.Parameters.Add("@date", MySqlDbType.Date).Value = date; MySqlDataAdapter adapter = new MySqlDataAdapter();…