Trying to display one previous entry at a time when selecting back but code returns all preious entries at once in text fields
private void BackButt_Click(object sender, EventArgs e) 
{ 
   try 
   { 
       SqlCeDataReader myReader = null; 
 
       SqlCwCommand cm = new SqlCeCommand("SELECT MAX(TS_Process) AS Expr1, MAX(TS_Verify) AS Expr2 FROM TestStep", cn) 
 
       myReader = cm.ExecuteReader(); 
 
       while (myReader.Read()) 
       { 
          stepTB.Text += myReader.GetString(0) + " "; 
 
          ExpectedTB.Text += myReader.GetString(1) + " "; 

       } 
    }       
    catch (SqlCeException ex) 
    { 
        MessageBox.Show(ex.Message); 
    } 

Trying to display one previous entry at a time when selecting back but code returns all preious entries at once in text fields
===

private void BackButt_Click(object sender, EventArgs e) 
{ 
   try 
   { 
       SqlCeDataReader myReader = null; 
 
       SqlCwCommand cm = new SqlCeCommand("SELECT MAX(TS_Process) AS Expr1, MAX(TS_Verify) AS Expr2 FROM TestStep", cn) 
 
       myReader = cm.ExecuteReader(); 
 
       while (myReader.Read()) 
       { 
          stepTB.Text += myReader.GetString(0) + " "; 
 
          ExpectedTB.Text += myReader.GetString(1) + " "; 

       } 
    }       
    catch (SqlCeException ex) 
    { 
        MessageBox.Show(ex.Message); 
    } 
