If I define a variable as below, which is global, is there a way to reference it in code behind?
Is this variable global only to the particular page class it is defined in? If that is the case, why can't it be referenced in code behind as defined below?
Is there any MSDN documentation on this particular scenario?
<form id="form1" runat="server">
<% MyVar = " A Test"; %>