OleDbConnection con = new OleDbConnection(conn.ConnString.ToString()); con.Open(); OleDbCommand cmd = new OleDbCommand("SELECT Price FROM Warehouse WHERE Date = #"+date,con); OleDbDataReader reader = cmd.ExecuteReader(); while (reader.Read()) { txtProba.AppendText(reader.GetValue(0).ToString() + "\n"); } con.Close();