N
needin4mation
I have a .aspx file and it's src. I also have a third file, a class
that the src references. Everything is in the same directory/folder.
Everything has the same namespace. How do I reference the class in my
c# .src file? I don't believe this is an ASP.NET question, but a OOP
C# question, thus my post here.
I have searched and I thought it was with:
using FilterSQL; //the name of my class
using reports.FilterSQL; //name of namespace with class.
....
then on down I can instantiate it with
FilterSQL myFilter = new FilterSQL("");
I need to say that it was working until I took Visual Studio out of the
picture. I am trying to use notepad. And what happened was that I
took out my "codebehind" directive and used "src." Now, it can't find
the class.
Thank you for any help. I think not using VIsual Studio here might
actually be a good thing. I might learn what's going on.
that the src references. Everything is in the same directory/folder.
Everything has the same namespace. How do I reference the class in my
c# .src file? I don't believe this is an ASP.NET question, but a OOP
C# question, thus my post here.
I have searched and I thought it was with:
using FilterSQL; //the name of my class
using reports.FilterSQL; //name of namespace with class.
....
then on down I can instantiate it with
FilterSQL myFilter = new FilterSQL("");
I need to say that it was working until I took Visual Studio out of the
picture. I am trying to use notepad. And what happened was that I
took out my "codebehind" directive and used "src." Now, it can't find
the class.
Thank you for any help. I think not using VIsual Studio here might
actually be a good thing. I might learn what's going on.