Customs/base/CheckupRecords.aspx.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EKETEAM.Data;
using EKETEAM.FrameWork;
namespace eFrameWork.Customs.Base
{
public partial class CheckupRecords : System.Web.UI.Page
{
string AppItem = eParameters.QueryString("AppItem");
string parentModelID = eParameters.QueryString("modelid");
string parentID = eParameters.QueryString("id");
string modelid = eParameters.QueryString("modelid");
private eDataBase _database;
private eDataBase DataBase
{
get
{
if (_database == null)
{
DataRow[] rows;
if (AppItem.Length > 0)
{
rows = eBase.a_eke_sysApplicationItems.Select("ApplicationItemID='" + AppItem + "'");
if (rows.Length > 0) modelid = rows[0]["ModelID"].ToString();
}
rows = eBase.a_eke_sysModels.Select("ModelID='" + modelid + "'");
if (rows.Length > 0)
{
if (rows[0]["DataSourceID"].ToString().Length > 0)
{
_database = new eDataBase(rows[0]);
string pk = _database.getPrimaryKey("a_eke_sysCheckupRecords");
if (pk.Length == 0) _database = eConfig.DefaultDataBase;
//eBase.Writeln("1234:" + pk);
}
else
{
_database = eConfig.DefaultDataBase;
}
}
else
{
_database = eConfig.DefaultDataBase;
}
}
return _database;
}
}
private string _columntitlewidth;
public string ColumnTitleWidth
{
get
{
if (_columntitlewidth == null)
后面还有 85 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
