locked
session problem RRS feed

  • Question

  • User960828729 posted

    at page1

    Session["test"] = lblTitle.Text.ToString() ;

     

    and me want at page two call the Session["test"] value, how to do it?

     var a = ??????? ;

      txtProductName.Text = a;

     

    anyone can help me?

    thank alot ~

    Monday, February 21, 2011 3:47 AM

Answers

  • User541108374 posted

    Hi,

    use

    string a = Session["test"].ToString();

    Grz, Kris.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 21, 2011 4:01 AM

All replies

  • User541108374 posted

    Hi,

    use

    string a = Session["test"].ToString();

    Grz, Kris.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 21, 2011 4:01 AM
  • User960828729 posted

    solved~

    thank

    Monday, February 21, 2011 4:08 AM