G
Guest
Hi,
i use SqlCeDataAdapter to load large amount of data for displaying in
ComboBox and it is very slow. I found that SqlCeDataAdapter.Fill method takes
only 1/3 of that time and it seems that assigning DataTable to
ListControl.DataSource property creates a new copy of datasource i am
assigning it to instead of referencing my one. This assignment takes another
2/3 of total time. I thing that using datasources this way leads to large
parformance and memory wasting, doesn't it?
i use SqlCeDataAdapter to load large amount of data for displaying in
ComboBox and it is very slow. I found that SqlCeDataAdapter.Fill method takes
only 1/3 of that time and it seems that assigning DataTable to
ListControl.DataSource property creates a new copy of datasource i am
assigning it to instead of referencing my one. This assignment takes another
2/3 of total time. I thing that using datasources this way leads to large
parformance and memory wasting, doesn't it?