Inconsistent behaviour of VB.NET

35 pts.
Tags:
Click Event
VB.NET
Windows Form
I have a form which is displaying some user specific details. After pressing save button which is on form , if i close the form and then again displays it to user the changes done are working , but if i don't close the form then the changes done didn't reflected.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    What code is in your save button on-click handler ? Are you using transactions ? If so, you should commit your changes when the save button is pressed.
    69,590 pointsBadges:
    report
  • carlosdl
    No response to the details request. However, it was most likely not an inconsistent behaviour of VB. The OP was probably referring to changes applied to a database executing SQL commands, which would update the database but not the UI automatically. The form was probably set to populate fields from the database when loading and that's why it worked as expected when the form was being closed and reopened.
    69,590 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following