Link to home
Start Free TrialLog in
Avatar of williecg
williecgFlag for United States of America

asked on

Get variable from a database, VB, ASPNET, OLEDB

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.
Avatar of arnold
Flag of United States of America image

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


thanks, that pointed me in right direction.