Click here to Skip to main content
15,892,517 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have three forms-login, registration and home. Lets say an user A click login button, a new form home opens with textbox where he write something. Similarly another user B login and write. Now i want to display that form with text that was last written by either user A or B. How to do that?
Posted
Comments
Sergey Alexandrovich Kryukov 14-May-13 14:17pm    
What do you mean by "Form"? If could be System.Windows.Forms.Form, a Web form, or something else. Likewise "TextBox" is not just one type. Which one?
You always need to tag the UI library or application type you use.
—SA
[no name] 14-May-13 14:20pm    
so you want to create a chat application ?
Pankaj Mahor 14-May-13 23:38pm    
I just want to save what each user has written to the textbox after login. I dont want to display same text to all users. Need help...
Pankaj Mahor 19-May-13 13:25pm    
I found i have to use static variable like session to store loggedin user details. Plz tell me how to do that?
Kschuler 20-May-13 14:36pm    
Are each of these users using the same computer? Or is this over a network? If there are 100 users, do you need to keep track of what each user entered? You may want to consider using a database. As for static variables...try googling it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900