Code:
sqlCommand = new SqlCommand("SELECT date FROM Transactions", sqlConnection);
                    sqlDataReader = sqlCommand.ExecuteReader();
                    while (sqlDataReader.Read())
                    {
                        comboBoxResult.Items.Add(sqlDataReader["date"].ToString());
                    }
Please kind coders, this line of code is adding both date and time to the comboBoxResult which i do not want, i only added
date to the database but when retriving it it brings both date and time. I want only the date to be added. Thanks.