At the moment I am only able to output this to a string, although I have tried creating an array and using int[] but it does not like it at all. How could the output of reader.GetInt32(0) be put into an array?
com.Parameters.AddWithValue("date", Form1.date);
SqlCeDataReader reader = com.ExecuteReader();
while (reader.Read())
{
int resultsoutput = reader.GetInt32(0);
MessageBox.Show(resultsoutput.ToString());
}
Add it to a collection