Visual Basic 2005

10 pts.
Tags:
VB
Visual Basic
Visual Basic 2005
why are variables necessary in applications?
ASKED: June 10, 2008  12:11 AM
UPDATED: June 10, 2008  12:35 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Variables are needed for a variety of reasons. The first of which is that not all data within the application is static. If we need to get data from a database, and then work with that data it will be more efficient for the SQL Server and the application if we copy the value from the database into a variable, then close the database connection (which frees up the resources on the database server), then work with the value within the variable. We can then even change the value of the variable as needed, and then is required upload the new value back into the database.

Without variables software would do the same thing every time, with the same result. If that was the case why run the software more than once as the result would be the same every time.

Discuss This Question:  

 
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

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