Dhimesh Parmar

Dhimesh Parmar

  • 1.7k
  • 108
  • 5k

i need help pass multiple value in session?

Mar 11 2018 12:48 AM
session name with welcome message, session id
Session.Add("username", dt.Rows[0][0].ToString());
Session.Add("urId", dt.Rows[0][0].ToString());
lblSessionName.Text = Session["username"].ToString();
in lable print id not a name
i need this type of message like
welcome admin

Answers (3)