G
Guest
I learned asp.net on VS and now have to create a Web Matrix project. I have
a c# class located in a different folder in the directory. I want to
reference that in the script block of my default page. I have the following
at the top of the page:
<%@ Page Language="C#" %>
<%@ Import Namespace="WTR.ScriptManager.Data" %>
When I try to create an object from this class I get the error:
CS0246: The type or namespace name 'WTR' could not be found (are you missing
a using directive or an assembly reference?)
I think I might have to reference the assembly, can someone explain this?
Thanks,
Nathan
a c# class located in a different folder in the directory. I want to
reference that in the script block of my default page. I have the following
at the top of the page:
<%@ Page Language="C#" %>
<%@ Import Namespace="WTR.ScriptManager.Data" %>
When I try to create an object from this class I get the error:
CS0246: The type or namespace name 'WTR' could not be found (are you missing
a using directive or an assembly reference?)
I think I might have to reference the assembly, can someone explain this?
Thanks,
Nathan