D
dejavue82
Wound't be wise and efficient to copy the rows into a collection list
ArrayList, close the connection and then process the data? (Rather than
do the processing while the connection is still open).
ArrayList data_array = new ArrayList();
while (reader.Read())
{
data_array.Add(reader["some_column"].ToString());
}
ArrayList, close the connection and then process the data? (Rather than
do the processing while the connection is still open).
ArrayList data_array = new ArrayList();
while (reader.Read())
{
data_array.Add(reader["some_column"].ToString());
}