Hey guys.... Just wondered if anyone can help me, I'm busy writing an application with a login form using SQL Server, if the user logs into the specific for i want a lable saying logged in as : .... But how do you code that part?
Hope you understand
This is a shot in the dark as you have not specified any code that you are using to validate the users login credentials, but under the method in which your code validates the users credentials(username and password) simply set the label1.Text = usernameTextBox.Text.
So after the validating is complete and the user is logged in(I am talking about in your code) you should have a statement after your validating code executed that assigns your label1.Text to your usernameTextBox.Text.