displaying logged user name in a another form

Posted by Chilverupavan under C# on 5/25/2010 | Views : 2131 | Status : [Member] | Replies : 3
hi friend,

i will a application
when a user login's the logged user name should display in another form for suppose
in form1 i want to display.
this works good for me..

similarly i have eight forms in my application.when i logged in in form1 displaying the welcome username
but when i click to form2 and come back to prevoius form that means to form1 the logged user name is not dispalying...
can any one tell me the solution...




Responses

Posted by: Vuyiswamb on: 5/25/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Are you using the Session to carry the username ?

Thank you for posting at Dotnetfunda
[Administrator]

Chilverupavan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Chilverupavan on: 5/26/2010 [Member] Starter

Up
0
Down
see iam working in window application how can sessions are used in windows applications..........

i need solution in windows application

Chilverupavan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 5/26/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
When you post something in a Forum you must explain all the details,

use a Global Variable
http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/be1b385e-6a13-442a-8883-37cc47ca21df

Thank you for posting at Dotnetfunda
[Administrator]

Chilverupavan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response