source/App_Code/Common.cs
(开头部分) 14KB这里只显示每个文件的开头 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.Data.SqlClient;
using System.Text.RegularExpressions;
using System.Net;
using System.Collections;
using System.Collections.Generic;
/// <summary>
///Common 的摘要说明
/// </summary>
public class Common
{
public Common()
{
//
//TODO: 在此处添加构造函数逻辑
//
}
public static int productPageSize = 16;
public static int albumPageSize = 16;
public static int articlePageSize = 16;
public static DataTable WEBCONFIG;
public static Hashtable SEO = new Hashtable();
public static Hashtable OTHER = new Hashtable();
public static String getName()
{
if (WEBCONFIG == null)
{
WEBCONFIG = UserDBS.reDatatable("select * from webconfig");
}
return WEBCONFIG.Rows[0]["name"].ToString();
}
public static String getAuthor()
{
if (WEBCONFIG == null)
{
WEBCONFIG = UserDBS.reDatatable("select * from webconfig");
}
return WEBCONFIG.Rows[0]["author"].ToString();
}
public static String getProductWidth()
{
if (WEBCONFIG == null)
{
WEBCONFIG = UserDBS.reDatatable("select * from webconfig");
后面还有 372 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。