UrbaneSpaceman
Member
- Joined
- Mar 3, 2005
- Messages
- 9
- Programming Experience
- 10+
I have this process working but from a performance point of view I'm not sure of the best way / generally approved way of doing this.
I have data in a form which has been loaded from a database. The user can change this information and save it back with a confirm button.
So far so good.
On some of the fields there are combo boxes for selection. These are to be populated from other database tables. At the moment all data loading is being done via a data reader.
My question is at what point should the combobox data be loaded? When all the form data is loaded in or only when the user actually accesses the combo box? Is it better to slow down the form load or create a slight delay when accessing a combo box. Is there a genreally accepted "best" way of doing this?
Cheers
Mike
I have data in a form which has been loaded from a database. The user can change this information and save it back with a confirm button.
So far so good.
On some of the fields there are combo boxes for selection. These are to be populated from other database tables. At the moment all data loading is being done via a data reader.
My question is at what point should the combobox data be loaded? When all the form data is loaded in or only when the user actually accesses the combo box? Is it better to slow down the form load or create a slight delay when accessing a combo box. Is there a genreally accepted "best" way of doing this?
Cheers
Mike