Link to home
Start Free TrialLog in
Avatar of K Feening
K FeeningFlag for Australia

asked on

Clearing of Variables

Using VB.net VS2019 creating WebForms, when Buttons are clicked I am loosing data stored in Private Variables
Private editfile As Boolean = False
Private RId As Integer how do I correct (Thanks)

Click Save
User generated image
And Variables Reset then goes to Save onclick event

User generated image




Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of K Feening

ASKER

Learning VB.net converting VB6 to run in a cloud environment  
Thanks to EE for recommending excellent Training video's so I will have questions
 
Thanks Private Shared RId As Integer works
and found Public shared RId As Integer  works as well