friend limits access to the same assembly. the aspx pages are in a different
assembly then the module or the codebehind (which is only in the module
assembly with a web application).
while c# supplies a work around (InternalsVisibleTo attribute), I don't
believe the aspx page compielr supports it.
you should just make the methods public.
-- bruce (sqlwork.com)
"SonicChen" wrote:
> I can't use Module's method in page's code script block in vb.net
>
> I know it's friend and global class, but i should be able to access it if it
> does in code behind.
>
> Appreciated for any response
|