MYSQL is bind and imported, the time(12:00:00 AM) is also displayed in DateTime.
I want to display date without time
Ex) 08-11-22 12:00:00 AM (X)
08-11-22 (O)
This code binds to GridView.
MySqlCommand cmd = new MySqlCommand(strqry, conn);
cmd.CommandType = CommandType.Text;
MySqlDataAdapter adapt = new MySqlDataAdapter(strqry, conn);
adapt.Fill(dataTable);
GridView.DataSource = dataTable;