P
pb
Hi,
I have built a page with some generic functions in the code behind -
all works fine.
I then wanted to put these functions in their own code modules, so in
the app_code folder I created class1.vb with the content such as...
------------------------------------------------
Imports Microsoft.VisualBasic
Public Class Class1
Public Function xx() As Boolean
xx = True
End Function
End Class
----------------------------------------
Now in the code behind page, from where this function is called, I get
the error message "name 'xx' is not declared"
I've read the documentation as far as I can fugure out, this should
work. I would sure appreciate if anyone can tell me what I am missing.
Thanks,
Pb
I have built a page with some generic functions in the code behind -
all works fine.
I then wanted to put these functions in their own code modules, so in
the app_code folder I created class1.vb with the content such as...
------------------------------------------------
Imports Microsoft.VisualBasic
Public Class Class1
Public Function xx() As Boolean
xx = True
End Function
End Class
----------------------------------------
Now in the code behind page, from where this function is called, I get
the error message "name 'xx' is not declared"
I've read the documentation as far as I can fugure out, this should
work. I would sure appreciate if anyone can tell me what I am missing.
Thanks,
Pb