KingNET.PageLib/PageBase.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using DMSFrame;
using System.Web;
using KingNET.PageLib.Helper;
namespace KingNET.PageLib
{
public class PageBase : System.Web.UI.Page
{
bool queryFlag = false;
public PageBase()
{
if (queryFlag)
{
this.Load += new System.EventHandler(this.GetQueryString);
}
}
protected int RegisterScriptInt
{
get { return TryParse.StrToInt(ViewState["RegisterScriptInt"]); }
private set { ViewState["RegisterScriptInt"] = value; }
}
protected void RegisterScript(string script)
{
this.RegisterScriptInt++;
this.ClientScript.RegisterClientScriptBlock(this.GetType(), "script_" + this.RegisterScriptInt, script, true);
}
protected void RegisterScriptFunction(string script)
{
this.RegisterScript(@"$(function(){" + script + "});");
}
protected int QueryTableInt(string queryName)
{
object obj = QueryTable[queryName];
if (obj != null)
{
return TryParse.StrToInt(obj, 0);
}
else
return 0;
}
protected string QueryTableStr(string queryName)
{
object obj = QueryTable[queryName];
if (obj != null)
{
return obj.ToString();
}
else
return "";
}
private Hashtable _QueryTable = new Hashtable();
private string _EncryptedQueryString = null;
protected Hashtable QueryTable
//public Hashtable QueryTable
后面还有 88 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。