Manage/ModelItems_Basic.aspx.cs
(开头部分) 27KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using EKETEAM.FrameWork;
using EKETEAM.Data;
using LitJson;
namespace eFrameWork.Manage
{
public partial class ModelItems_Basic : System.Web.UI.Page
{
public string modelid = eParameters.QueryString("modelid");
public string getJsonText(string jsonstr,string name)
{
StringBuilder sb = new StringBuilder();
if (jsonstr.Length > 0)
{
/*
eJson json = new eJson(jsonstr);
foreach (eJson m in json.GetCollection())
{
sb.Append("<span style=\"display:inline-block;margin-right:6px;border:1px solid #ccc;padding:3px 12px 3px 12px;\">" + HttpUtility.HtmlDecode(m.GetValue(name)) + "</span>");
}
*/
JsonData json = jsonstr.ToJsonData();
foreach (JsonData m in json)
{
sb.Append("<span style=\"display:inline-block;margin-right:6px;border:1px solid #ccc;padding:3px 12px 3px 12px;\">" + HttpUtility.HtmlDecode(m.getValue(name)) + "</span>");
}
}
return sb.ToString();
}
private DataTable _allmodels;
public DataTable allModels
{
get
{
if (_allmodels == null)
{
_allmodels = eBase.DataBase.getDataTable("select * from a_eke_sysModels where delTag=0");
}
return _allmodels;
}
}
private DataTable _customcolumns;
public DataTable CustomColumns
{
get
{
if (_customcolumns == null)
{
_customcolumns = eBase.DataBase.getDataTable("select * from a_eke_sysModelItems where modelid='" + modelid + "' and custom=1 and hasui=1 and showadd=1 and delTag=0");// and bindmodelid is null and len(isnull(programefile,' '))=1
}
return _customcolumns;
后面还有 327 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
