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

Recommended Answers

All 4 Replies

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()

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

with
Vishnukumar sr

If Your problem is solved, Please mark as solved

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.