CommWEB/userctrl/ucGuidListSum.ascx.cs

(开头部分) 2KB

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

using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CommLei.BLL;
using CommLei.Lib;
using CommWeb.UI;

namespace CommWEB.userctrl
{
    public partial class ucGuidListSum : ucBase
    {
        CommLei.BLL.WebCommData bll = new WebCommData();
        string pid;
        public string PID
        {
            get
            {
                return pid;
               
            }
            set
            {
                string str = value;
                if (!String.IsNullOrWhiteSpace(str))
                {

               
                string strnum = str.Replace(",", "");
                if (TypeParse.IsNumeric(strnum))
                {
                    pid= str.Trim();
                }
                else
                {
                    pid=null;
                }
                }
                else { pid = null; }
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!string.IsNullOrWhiteSpace(PID))
            {
                GenerateHtml html=new GenerateHtml();

                DataTable ds = html.GetGuidTable();
                if (ds == null) return;
                StringBuilder sb = new StringBuilder();

                DataRow[] rows;
                //rows = ds.Select(string.Format("GuidID in ({0}) and IsLock<>1 and IsGuid=1", PID));
                //if (rows.Length > 0)
                //{
                //    sb.AppendFormat("<div class='bannerbg bannercss'><div class='bantitle'><div class='title'>{0}</div></div></div>", rows[0]["GName"]);
后面还有 23 行代码,购买后查看完整代码

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

AI 解读 AI

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

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