Public Variables Not Display In Page RRS feed

  • Question

  • I inserted code to insert Public variables into the aspx page. (VB.Net)

    The brackets are yellowed correctly when I see them in Visual Studio.

    However, when the page displays, I see the brackets and the variable name.  I don't see the variable's value.

    What can cause the public variables to not be replaced on the page?


    FYI, I am using really old school stuff - VS 2003.  But this should still work.

    Thursday, June 7, 2012 3:01 AM

All replies

  • Hi,

    It is a page right?

    On Post-Back data is in

    viewstate["variablename"] or





    You can assign and retrieve it accordingly,,


    Please remember to mark the replies as answers if they help and unmark them if they provide no help , or you may vote-up a helpful post

    • Proposed as answer by murtazagandhi Wednesday, November 28, 2012 10:19 AM
    Wednesday, November 28, 2012 10:18 AM