BrownFingers
Member
- Joined
- Nov 21, 2008
- Messages
- 15
- Programming Experience
- Beginner
Hi I'm new to winforms ( I've done some .NET web apps ) and I was wondering if someone could guide me.
I have created a baseform which I will inherit all my forms from. I'd like to add in code that will check for database changes and prompt accordingly when exiting the form.
Has anyone any ideas on how best to handle this, given that it is a baseform and will have no controls on it ?
Is there a way of dynamically looping through all data controls and checking if there are pending updates?
Or does anyone have any other suggestions?
I have created a baseform which I will inherit all my forms from. I'd like to add in code that will check for database changes and prompt accordingly when exiting the form.
Has anyone any ideas on how best to handle this, given that it is a baseform and will have no controls on it ?
Is there a way of dynamically looping through all data controls and checking if there are pending updates?
Or does anyone have any other suggestions?