title: ASP.NET Sum of column to string
body: <p>I'm trying to show the sum of a column as a string. What's wrong?
  The only output I get from cmd.ExecuteReader(); seems to be: System.Data.OleDb.OleDbDataReader</p>
  
  <pre><code>       protected void TotalHours() {
          DatabaseConnection.Commandstring = ("SELECT SUM ([Time]) FROM tbl_login");
          using (OleDbConnection con = new OleDbConnection(DatabaseConnection.ConString)) {
              try {
                  con.Open();
                  using (OleDbCommand cmd = new OleDbCommand(DatabaseConnection.Commandstring, con)) {
                      DatabaseConnection.result = cmd.ExecuteReader();
                      txt_TotalTime.Text = ("Total Time: " + DatabaseConnection.result.ToString());
                      con.Close();
                  }
              }
  
              catch (Exception ex) {
                  con.Close();
                  Debug.WriteLine("Error Selecting Time from Database " + ex.Message);
              }
          }
      }
  </code></pre>