I am setting the data source of a datagridview to a subsonic collection
TcolorCollection tc = new TcolorCollection().Load();
dataGridView1.DataSource = tc;
and I've noticed that the previous code is much (way to much) slower then the following
SubSonic.Query q3 = new SubSonic.Query("tcolor");
q3.QueryType = SubSonic.QueryType.Select;
IDataReader reader = q3.ExecuteReader();
DataTable dt = new DataTable();
dt.Load(reader);
dataGridView1.DataSource = dt;
I would like to use the collection class and it's connectivity, but I need a way for the .Load() to be faster.
fyi the table I am using has 8000+ records. Not small, but not huge either.