App_Code/ExtTree.cs

(开头部分) 3KB

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

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.Hosting;
using System.Security.Permissions;
using System.Text;

/// <summary>
///ExtTree 的摘要说明
/// </summary>
public class ExtTree
{

    Class_Object_System mycon = new Class_Object_System();
    Class_Function_Data datadeal = new Class_Function_Data();


    private string _XMLpath;
    private static ExtTree extTree = null;
    public static ExtTree Current
    {
        get 
        {
            if (extTree == null)
                extTree = new ExtTree();

            return extTree;
        }
    }
	private ExtTree()
	{
        
	}

    private DataTable GetAllNodes()
    {
        string qx = HttpContext.Current.Session["qx"].ToString();
        DataTable ds = new DataTable();
        string sqlsel = " select parentid = 0, ztid as id, '<font size=2>' + ztmc +'</font>' as title, url = '', addtime = ''  from ztysjb " 
                          +" where ztid in (" + qx + ") union all select ztysjb.ztid as parentid, tjbbysjb.bid + 100 as id, '<font size=2>'+ "
                          +" tjbbysjb.ms +'</font>'as title, url='tab.aspx?bid='+ltrim(str(tjbbysjb.bid)) ,addtime = '' from ztysjb, tjbbysjb where ztysjb.ztid = "
                          +" tjbbysjb.ztid and tjbbysjb.avai = 1 and ztysjb.ztid in (" + qx + ")";
        ds = datadeal.DBP(2, 2, mycon.SysDataBaseAddress, "", "", "", "", sqlsel);

        

        return ds;
       
    }

    private DataTable GetAllNodes(string parentid)
    {
        DataTable dt = GetAllNodes();
        DataTable _dt = dt.Clone();
后面还有 68 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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