G
Guest
Hello
I'm wondering what is the best way to populate a form that has a tab control
My form has a tab control with multiple tabs. Each tab has many textboxes/datagrids
I'm pulling data from a SQL server database to populate each tab
Is it best to code each tab separate, so data is only pulled over for those fields if that tab is clicked
Or is there a problem with pulling all data over, and coding to fill every field, whether or not the tab is selected?
I've been trying to find an event that triggers the filling of the fields on a tab when that tab is selected...but can't seem to make it populated as soon as the tab is clicked (onclick...enter...gotfocus... <-none of these populate it instantly)
Any advice/suggestions would be appreciated
ambe
I'm wondering what is the best way to populate a form that has a tab control
My form has a tab control with multiple tabs. Each tab has many textboxes/datagrids
I'm pulling data from a SQL server database to populate each tab
Is it best to code each tab separate, so data is only pulled over for those fields if that tab is clicked
Or is there a problem with pulling all data over, and coding to fill every field, whether or not the tab is selected?
I've been trying to find an event that triggers the filling of the fields on a tab when that tab is selected...but can't seem to make it populated as soon as the tab is clicked (onclick...enter...gotfocus... <-none of these populate it instantly)
Any advice/suggestions would be appreciated
ambe