vb.net variable or label
Posted on 2004-11-24
I was wonder I have a program I am working on that does a hit on a database and I need to store certain data for later actions.
Example database pulls in there age, in my program there might be a button that does a age calculation, I would need to have the program remember what was 1st pull in order to avoid another fetching.
I was keeping things in variable:
dim age as integer
when the database first fetches the age it dumps it to the variable age. then when the user hits the button for age calculator it looks at the variable age. Should I do it this way or should I have it say to the mdiparent in a hidden label on a hidden statusbar panel., I have about 5 things I need to store for later use.