G
Guest
Hi,
I'd like to place a method in a namespace which I can easily call from any of my asp.net pages.
The method formats a string, and I'd like to just call it with a string without instantiating a new object ie:
string Message = "hello world";
Message = MyNameSpace.MyMethod( Message );
How can I do this? Thanks - Katie.
I'd like to place a method in a namespace which I can easily call from any of my asp.net pages.
The method formats a string, and I'd like to just call it with a string without instantiating a new object ie:
string Message = "hello world";
Message = MyNameSpace.MyMethod( Message );
How can I do this? Thanks - Katie.