G
Guest
Due to time constraint, my last project (first one in VB.NET for us, I might
add) was done 'quickly' rather that right, meaning that it is 'good enough'
for the client but not the kind of project one feels proud of after delivery.
I happen to have some spare time on my hands which I plan to spend
optimizing the whole thing just to improve myself.
One of the things I know we didn't do right, simple as it is, is the display
of SQL.CE based data on grids. We just execute a query, grab all records, put
them in rows and display the grid - slow as hell as you can easily guess.
Given you have the data in one or several tables, what is the fastest way to
display it on a grid? Fastest as in 'fastest availabity to the user', so
retrieving records as needed by user interaction is fine. This is actually my
first idea.
Also, suppose you need one of the fields from the query not for display but
for something else (i.e. you can't just feed the results to the datagrid,
even if it's possible to do so, which I'm not sure).
All suggestions welcome, I have the time to try them all.
add) was done 'quickly' rather that right, meaning that it is 'good enough'
for the client but not the kind of project one feels proud of after delivery.
I happen to have some spare time on my hands which I plan to spend
optimizing the whole thing just to improve myself.
One of the things I know we didn't do right, simple as it is, is the display
of SQL.CE based data on grids. We just execute a query, grab all records, put
them in rows and display the grid - slow as hell as you can easily guess.
Given you have the data in one or several tables, what is the fastest way to
display it on a grid? Fastest as in 'fastest availabity to the user', so
retrieving records as needed by user interaction is fine. This is actually my
first idea.
Also, suppose you need one of the fields from the query not for display but
for something else (i.e. you can't just feed the results to the datagrid,
even if it's possible to do so, which I'm not sure).
All suggestions welcome, I have the time to try them all.