Why did you create a new namespace for your class? While this is perfectly acceptable, I am not sure of the logic behind it.
For example, if you name your web project MySite, all of your code behind files and everything else becomes part of the namespace MySite. So, if i wanted to access code in pagename.aspx.
vb I would do something like
Imports MySite
...code
MySite.pagename.[function or method]
So you are placing a Namespace within a namespace which is somewhat redundant for what you are doing. What you could do instead is remove the namespace from your class so all you have is your class declaration
Public Class DataBaseFunctions
End Class
You can then create an instance (assuming you have instance members in the class) of the object and access it directly without importing the namespace. So something like this
Dim df as New DatabaseFunctions()
df.[method/function]()
In any case, glad you got it working.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========