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

  • Thread starter Thread starter michel
  • Start date Start date
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
 
Back
Top