public void Delete(string table, employee hire = new employee(), reciept order = new reciept(), product item = new product())
        {
            string query = "DELETE FROM " + table + " WHERE `Name` = ";

            if (table == "Products")
            {
                query += "'" + item.name + "'";
            }
            else
            {
                return;
            }


            if (this.Connect() == true)     // Open connection
            {
                MySqlCommand command = new MySqlCommand(query, connection);

                command.ExecuteNonQuery();

                this.Disconnect();      // Close connection
            }
        }