|
-
February 18th, 2010, 07:50 PM
#1
C# making user changes stay
Hello
I need help with an update feature. I have a list items that the user can select from. If they wish they can update the prices of the item. If they wish to do so, they are taken to a subform where they can update the prices. How would I make there changes stay instead of going back to there default values?
Here is my code.
Last edited by Nexusfactor; February 22nd, 2010 at 10:46 AM.
-
February 19th, 2010, 12:11 AM
#2
Re: C# making user changes stay
Either of the following:
1) After displaying the sub-form, you need to read the values back into the main-form before disposing of the sub-form. (tightly coupled)
2) The sub-form can fire an Event containing the new values and the main-form can subscribe to that event. (loosely coupled)
Rob
-
Ohhhhh.... Old McDonald was dyslexic, E O I O EEEEEEEEEE.......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|