M
Mr Flibble
I have some functions in Default.aspx.cs that are accessed by
Default.aspx. I have a new page with the imaginative name of
Default2.apsx. I want to be able to call my functions i Default.aspx.cs
from this new page (as well as from the original page). I could move my
shared code to .Net bin and then use the <@ Import
Namespace="MyCustomNamespace" > at the top of each page, but I was
wondering what other options are available so that I do things the
Asp.Net way and which is the most advised. I'm using .Net 2.0 and
Asp.Net 2.0.
Any suggestions warmly appreciated!
Default.aspx. I have a new page with the imaginative name of
Default2.apsx. I want to be able to call my functions i Default.aspx.cs
from this new page (as well as from the original page). I could move my
shared code to .Net bin and then use the <@ Import
Namespace="MyCustomNamespace" > at the top of each page, but I was
wondering what other options are available so that I do things the
Asp.Net way and which is the most advised. I'm using .Net 2.0 and
Asp.Net 2.0.
Any suggestions warmly appreciated!