G
Guest
Hi all
I can't import some namespace with non-codebehind page..
for example.
<%@ Import Namespace="System.ServiceProcess"%>
In code-behind,we have to reference System.ServiceProcess.dll manually.
but how can we import such kind of namespace in .net framework?
Thanks a lot
Clare Hsiao
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.
Parser Error Message: File or assembly name System.ServiceProcess, or one of
its dependencies, was not found.
Source Error:
Line 1: <%@ Assembly Name="System.ServiceProcess"%>
Line 2: <%@ Import Namespace="System.Web.Mail"%>
Line 3: <%@ Import Namespace="System.Text"%>
(e-mail address removed)
I can't import some namespace with non-codebehind page..
for example.
<%@ Import Namespace="System.ServiceProcess"%>
In code-behind,we have to reference System.ServiceProcess.dll manually.
but how can we import such kind of namespace in .net framework?
Thanks a lot
Clare Hsiao
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.
Parser Error Message: File or assembly name System.ServiceProcess, or one of
its dependencies, was not found.
Source Error:
Line 1: <%@ Assembly Name="System.ServiceProcess"%>
Line 2: <%@ Import Namespace="System.Web.Mail"%>
Line 3: <%@ Import Namespace="System.Text"%>
(e-mail address removed)