日期:2014-05-17 浏览次数:20415 次
if (Session["MyForbid"] != null)
{
string MyForbidString = Session["MyForbid"].ToString();
if (MyForbidString.IndexOf("E2") > 1)
{
Server.Transfer("~/SystemManage/AllErrorHelp.aspx");
}
}
public partial class System_CompanyForm : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["MyForbid"] != null)
{
string MyForbidString = Session["MyForbid"].ToString();
if (MyForbidString.IndexOf("E2") > 1)
{
Server.Transfer("~/SystemManage/AllErrorHelp.aspx");
}
}