I have a windows form that contains a user control. On the user control is a tab control and I am ready to start saving data on the tabs to the database.
Where should my save logic go? At the windows form level? Or in the user control code? It doesn't seem like I can access the controls directly from the form code.
Thanks.
User control save logic. Where should it go?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Buster Irby27 reputationPosted Aug 24, 2007, 5:47 AM EDT
All tab related code should be in the individual tab page. Do you have separate sub forms for each tab page?