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.