sorry: and now with subject: how to reuse function in any page of application?

M

michel

Hi,

i defined a function (no matter what it does) in code-behind of an aspx page
like this:

Public Function myfunction(ByVal x As Object) As String
Dim tmp As String = x.ToString()
.......
Return tmp
End Function

Now i would like to use that function in any aspx pages of my asp.net
application.
How can i do that?

Thanks
Michel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top