Environment versions
Network:
Windows 2000 Server
Hi Alex,
>Why? Why does it need to be public when it is in the same page? All it does is it runs the code as a PostBack AFAIK.
>I fail to see why the auto-created private signature does not work.
This happens because the ASPX Page is based in the class declared in the aspx.cs and it does not have access to the private members.
You could have used protected instead of public if you prefer.
Regards,
Eugênio
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only