Web/head_nav.ascx.cs

(完整代码) 1KB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web
{
    public partial class head_nav : System.Web.UI.UserControl
    {
        public string c1 = "";
        public string c2;
        public string c3;
        public string c4;


        protected void Page_Load(object sender, EventArgs e)
        {
           if (Request.Url.AbsoluteUri.Contains("ListHwt.aspx"))
            {
                c1 = "";
                c2 = "selected";
                c3 = "";
                c4 = "";
            }
            else if (Request.Url.AbsoluteUri.Contains("ListSjh.aspx"))
            {
                c1 = "";
                c2 = "";
                c3 = "selected";
                c4 = "";
            }
           else if (Request.Url.AbsoluteUri.Contains("ZhengPin.aspx"))
           {
               c1 = "";
               c2 = "";
               c3 = "";
               c4 = "selected";
           }
           else
           {
               c1 = "selected";
               c2 = "";
               c3 = "";
               c4 = "";
           }

        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。