I have three forms, the login form, main menu, and user profile. When a user logged in and clicks the user profile button from the main menu, the information of the logged in account must display.
I do it by passing the username from the log in form to the main menu form into a label;thus, if the user clicks the user profile button, the username label from the main menu will be pass again and execute a query from the database "select lastname, firstname from useraccount where username="usernamelabel.Text". Though I doubt that this is the reliable and easiest way of doing this.