F
farmer
I need "include" multiple classes from multiple files such as:
<%@ Page Language="C#" Debug="true" ValidateRequest="false"
Src="~/Auth/Pub/Auth.cs"%>
<%@ Page Language="C#" Debug="true" ValidateRequest="false"
Src="~/Edit/Item.cs"%>
But the compile says can't use more than one "@Page" directive.
Or,I need to "include" another class from a .cs into a currently .ascx
using:
<%@ Page Language="C#" Debug="true" ValidateRequest="false"
Src="~/Auth/Pub/Auth.cs"%>
<%@ Import namespace="Auth" %>
But I got:
Parser Error Message: The directive 'page' is unknown.
How can I do?Thx~
<%@ Page Language="C#" Debug="true" ValidateRequest="false"
Src="~/Auth/Pub/Auth.cs"%>
<%@ Page Language="C#" Debug="true" ValidateRequest="false"
Src="~/Edit/Item.cs"%>
But the compile says can't use more than one "@Page" directive.
Or,I need to "include" another class from a .cs into a currently .ascx
using:
<%@ Page Language="C#" Debug="true" ValidateRequest="false"
Src="~/Auth/Pub/Auth.cs"%>
<%@ Import namespace="Auth" %>
But I got:
Parser Error Message: The directive 'page' is unknown.
How can I do?Thx~