I need my aspx page to reference a varible defined in code behind
Posted on 2011-02-14
I usually code in MVC and need to access the Model. But using code behind is different.
Please tell me how to create a variable in Page Load that can be accessed on the page? It's a reference of an object, actually.