shared functions

  • Thread starter Thread starter MattB
  • Start date Start date
M

MattB

I want to define some shared functions for use throughout my vb ASP.net
application. I imagine these would go in the global.asax.vb file, yes?

Assuming that's correct, how to I access this function in the codebehind?
I've tried some variations of global.myfunction and have had no luck. Can
someone set me straight? Thanks!
 
If you create a class named "global" and it has a shared function is named
"myfunction" then the syntax you mentioned should work.
 
Back
Top