S
Shapper
Hello,
In my web site aspx.vb files I have a few functions which are common to
all .aspx pages. I want to move all to a common file.
I am thinking in placing all common functions in a class (common.vb
file):
Imports System
Namespace global
Public Class global
Public Sub Function01()
...
End Sub
...
End Class
End Namespace
Is this the best way to do this?
What should be the code in my aspx.vb files to call the class and to use
the functions in it?
Thank You,
Miguel
In my web site aspx.vb files I have a few functions which are common to
all .aspx pages. I want to move all to a common file.
I am thinking in placing all common functions in a class (common.vb
file):
Imports System
Namespace global
Public Class global
Public Sub Function01()
...
End Sub
...
End Class
End Namespace
Is this the best way to do this?
What should be the code in my aspx.vb files to call the class and to use
the functions in it?
Thank You,
Miguel