I am having issues getting this to work. I have the user login to a page to put in a request for vacation. When they login, I have a label that isn't visible that is equal to their User.Identity.Name.
I select the user from the employee table where the username = the label (User.Identity.Name) and pull in the emp_id which is the primary key that identifies the user.
I need to insert the request into the request table with the emp_id from the select statement, without showing the em_id on the screen. I tried using a hidden field and assigning the emp_id as the value, but it isn't working.
Not sure if this is the best way to do this. Really new to ASP.NET 2.0 so I really appreciate any help.
Thank you!
I select the user from the employee table where the username = the label (User.Identity.Name) and pull in the emp_id which is the primary key that identifies the user.
I need to insert the request into the request table with the emp_id from the select statement, without showing the em_id on the screen. I tried using a hidden field and assigning the emp_id as the value, but it isn't working.
Not sure if this is the best way to do this. Really new to ASP.NET 2.0 so I really appreciate any help.
Thank you!