CSWSite/case.aspx.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DBUtility;
using CSWBLL;
namespace CSWSite
{
    public partial class _case : System.Web.UI.Page
    {
        protected string a1 = "";
        protected string a2 = "";
        protected string a3 = "";
        protected string a4 = "";
        protected string a5 = "";
        protected string a6 = "";
        protected string a7 = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindData();
            }
        }
        protected void Page_Init(object sender, EventArgs e)
        {
            string webTitle ="客户案例-"+ BLLcommon.SelectFieldInfoByFieldName("csw_title", "csw_webinfo", "id", "1");
            string webdescription = BLLcommon.SelectFieldInfoByFieldName("csw_description", "csw_webinfo", "id", "1");
            string webkeywords = BLLcommon.SelectFieldInfoByFieldName("csw_keywords", "csw_webinfo", "id", "1");
            BLLcommon.WebHead(this, webTitle, webdescription, webkeywords);

        }
        private void BindData()
        {
            string strPID = GetMes.GetRequestQuery(Request, "cpid");
            if (!String.IsNullOrEmpty(strPID))
            {
                BLLcontents.BindRpCase(RpCase, strPID);
                IsNotHoverColor(strPID);
            }
            else
            {
                BLLcontents.BindRpCase(RpCase);
                a1 = "a2";
            }
        }
        private void IsNotHoverColor(string strPID)
        {


            switch (strPID)
            {
                case "7":
                    a2 = "a2";
                    break;
                case "8":
                    a3 = "a2";
                    break;
后面还有 18 行代码,购买后查看完整代码

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

AI 解读

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

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