Author: gingawarrior | Posted on: 9/23/2009 3:19:55 AM | Views : 525

Hi - I'm sure there is a stupidly simple solution, but I simply can't figure it out!I need to reference a variable I set in my code behind page within my aspx page - it sets the domain that the site needs to point to. Now, when I do this I get a "ob.net._Default.strDomain' is not accessible in this context because it is 'Private" error in my code - but my Class is Public and the variable is defined as Public too!Whay can't my aspx page access the variable? Please help!!!Code as follows:codebehind.aspx.vbPublic Class _Default Public strDomain As String = "" 'lots more stuff! End Class page.aspx< ...

Go to the complete details ...