0

Hi Friends,

How Can Inter relate two forms ?

For Example
While the web form displays User's Name Like that Welcome KUMAR ! which one User has Login his Acccount

How Can Itz displays in label ctrl

2
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by srvishnukumar
0

Use Session to pass login information to Welcome page
To store Login Name in session try this:
C#
Session["LoginName"] = LoginNameTextBox.Text;
VB
Session("LoginName") = LoginNameTextBox.Text

To retrive the session value in your Welcome Screen try this:

C#
LoginNameLable.Text = "Welcome " + Session["LoginName"].ToString();
VB
LoginNameLable.Text = "Welcome " & Session("LoginName") .ToString()

0

Hi,
Thanks For Valuable Rply
Itz Soo Useful For me
Thanks again

with
Vishnukumar sr

0

If Your problem is solved, Please mark as solved

Hi

Wish U Happy New Year 2009
How Can I use Table Tools ? I want to Design my Home Page Via
table tools as like HOME. PRODUCTS, CONTACT US, CAREERS,ETC

Waiting for Valuable Rply

Regards
Vishnukumar SR

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.