I have a table and I want to select a field in it and then display it in a text box
something like:
SELECT userName
FROM userTable
WHERE (userLogged = 'ON')
how can I display the selected username in a textbox?
BTW the userLogged indicates wether the user is logged in or not
if the user is logged in then the userLogged will be changed to "ON"
if the user is not logged in it will be "OFF"
I know it's not that practical but I'm still practicing.
I'm using Visual Web Developer 2008 Express
--------- update ----------
I use table adapter procedures for querying