troubleshooting Question

Get variable from a database, VB, ASPNET, OLEDB

Avatar of williecg
williecgFlag for United States of America asked on
VB ScriptDatabases
2 Comments1 Solution33 ViewsLast Modified:
I am a tinker and have search the web and gotten part of what I am doing to work. However, I need some advice on how to get a value from a database.
I need to get employee phone number from a database, VB, ASPNET, OLEDB.
The database has employee ID, full name, and phone.
I can connect to the database, but I need the query to return data, and the code to get the phone number. The query should return only one record because employee id is a unique value. Place the phone number in a session variable, session(“phone”).
Thanks for your help.
WCGee
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros