using System.Collections;
ArrayList tempAL = new ArrayList();
while(reader.Read())
{
tempAL.Add( reader.GetString(0));
}
string[] data = new string[tempAL.Count];
tempAL.CopyTo(data);
ArrayList tempAL = new ArrayList();
while(reader.Read())
{
tempAL.Add( reader.GetString(0));
}
string[] data = new string[tempAL.Count];
tempAL.CopyTo(data);