School_BLL/clsWebForm/WebFormDetail.cs
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace School_BLL.clsWebForm
{
using School_BLL;
using School_Entity;
using System;
using System.Collections.Generic;
using System.Data;
using System.Runtime.CompilerServices;
public class WebFormDetail : SkyTools
{
public string sSQL = string.Empty;
public string sTableName = "SkyWebFormDetail";
[MethodImpl(MethodImplOptions.NoInlining)]
public string BasicGetHTMLInfo(string sID, string sType, string sValue, string sDefaultValue)
{
sID = base.sKpiInputName + base.sKpiInputSplit + sID;
string str = "";
string[] strArray = new string[] { "<input type=\"text\" name=\"{1}\" id=\"{0}\" value=\"{2}\" />", "<input type=\"radio\" name=\"{1}\" id=\"{0}\" value=\"{2}\" {3} class=\"chk\"/>", "<input type=\"checkbox\" name=\"{1}\" id=\"{0}\" value=\"{2}\" {3} class=\"chk\"/>", "<select name=\"{1}\" id=\"{0}\">{2}</select>", "<textarea name=\"{1}\" id=\"{0}\" cols=\"45\" rows=\"5\">{2}</textarea>", "<input type=\"text\" name=\"{1}\" id=\"{0}\" value=\"{2}\" ", " onClick=\"WdatePicker({skin:'whyGreen',isShowClear:false,readOnly:true,dateFmt:'yyyy-MM-dd'});\"/>" };
sType = sType.Trim();
string str2 = "";
string str3 = "";
string key = sType;
if (key != null)
{
int num2=0;
if (c000028.f000006 == null)
{
Dictionary<string, int> dictionary1 = new Dictionary<string, int>(6);
dictionary1.Add("0", 0);
dictionary1.Add("1", 1);
dictionary1.Add("2", 2);
dictionary1.Add("3", 3);
dictionary1.Add("4", 4);
dictionary1.Add("5", 5);
c000028.f000006 = dictionary1;
}
if (c000028.f000006.TryGetValue(key, out num2))
{
string[] strArray2;
int num;
string str7;
switch (num2)
{
case 0:
return string.Format(strArray[0], sID, sID, sDefaultValue);
case 1:
str = "";
strArray2 = sValue.Split(base.sDefaultSplit.ToCharArray());
if (!(sDefaultValue == ""))
{
num = 0;
while (num < strArray2.Length)
{
if (strArray2[num] == sDefaultValue)
{
str3 = "checked='checked'";
}
后面还有 135 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
