91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3.23MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-28
  • 語言: C#
  • 標簽:

資源簡介

asp.net完整酒店管理系統源碼asp.net完整酒店管理系統源碼asp.net完整酒店管理系統源碼

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections;
using?System.Collections.Generic;
using?System.Text;
using?System.Web.script.Serialization;
using?System.Runtime.Serialization;

///?
///?JSonhelper?的摘要說明
///?

public?class?DTreeJSonhelper
{
????//對應JSON的singleInfo成員
????public?string?singleInfo?=?string.Empty;

????protected?string?_error?=?string.Empty;
????protected?bool?_success?=?true;
????protected?long?_totalCount?=?0;
????protected?System.Collections.ArrayList?arrData?=?new?ArrayList();
????protected?System.Collections.ArrayList?arrDataItem?=?new?ArrayList();


????public?DTreeJSonhelper()
????{

????}

????//public?static?string?ToJSON(object?obj)
????//{
????//????javascriptSerializer?serializer?=?new?javascriptSerializer();
????//????return?serializer.Serialize(obj);
????//}

????//public?static?string?ToJSON(object?obj?int?recursionDepth)
????//{
????//????javascriptSerializer?serializer?=?new?javascriptSerializer();
????//????serializer.RecursionLimit?=?recursionDepth;
????//????return?serializer.Serialize(obj);
????//}

????//對應于JSON的success成員
????public?bool?success
????{
????????get
????????{
????????????return?_success;
????????}
????????set
????????{
????????????//如設置為true則清空error
????????????if?(success)?_error?=?string.Empty;
????????????_success?=?value;
????????}
????}

????//對應于JSON的error成員
????public?string?error
????{
????????get
????????{
????????????return?_error;
????????}
????????set
????????{
????????????//如設置error,則自動設置success為false
????????????if?(value?!=?““)?_success?=?false;
????????????_error?=?value;
????????}
????}

????public?long?totlalCount
????{
????????get?{?return?_totalCount;?}
????????set?{?_totalCount?=?value;?}
????}


????//重置,每次新生成一個json對象時必須執行該方法
????public?void?Reset()
????{
????????_success?=?true;
????????_error?=?string.Empty;
????????singleInfo?=?string.Empty;
????????arrData.Clear();
????????arrDataItem.Clear();
????}



????public?void?AddItem(string?name?string?value)
????{
????????if?(name?==?“leaf“?&&?value==“1“)
????????{
????????????value?=?“true“;
????????????arrData.Add(““?+?name?+?“:“?+?““?+?value?+?““);
????????}
????????else?if?(name?==?“leaf“?&&?value?==?“0“)
????????{
????????????value?=?“false“;
????????????arrData.Add(““?+?name?+?“:“?+?““?+?value?+?““);
????????}
????????else
????????{
????????????arrData.Add(““?+?name?+?“:\““?+?““?+?value?+?“\““);
????????}
???????
????}



????public?void?ItemOk()
????{
????????arrData.Add(“
“);
????????//返回總記錄條數
????????totlalCount++;
????}

????//序列化JSON對象,得到返回的JSON代碼
????public?override?string?ToString()
????{
????????StringBuilder?sb?=?new?StringBuilder();
????????sb.Append(“[“);
???????
????????int?index?=?0;
????????sb.Append(“{“);
????????if?(arrData.Count?<=?0)
????????{
????????????sb.Append(“}“);
????????}
????????else
????????{
????????????foreach?(string?val?in?arrData)
????????????{
?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????36864??2008-10-15?19:01??ExjsHotel\BLL\bin\Debug\BLL.dll

?????文件??????87552??2008-10-15?19:01??ExjsHotel\BLL\bin\Debug\BLL.pdb

?????文件??????36864??2008-10-05?10:39??ExjsHotel\BLL\bin\Debug\DAL.dll

?????文件??????67072??2008-10-05?10:39??ExjsHotel\BLL\bin\Debug\DAL.pdb

?????文件??????24576??2008-10-05?09:32??ExjsHotel\BLL\bin\Debug\Model.dll

?????文件??????77312??2008-10-05?09:32??ExjsHotel\BLL\bin\Debug\Model.pdb

?????文件?????701816??2007-01-20?17:56??ExjsHotel\BLL\bin\Debug\System.Web.Extensions.dll

?????目錄??????????0??2008-10-16?07:59??ExjsHotel\BLL\bin\Debug

?????目錄??????????0??2008-09-17?20:25??ExjsHotel\BLL\bin

?????文件???????3532??2008-10-05?09:36??ExjsHotel\BLL\BLL.csproj

?????文件???????3803??2008-09-21?21:28??ExjsHotel\BLL\DTreeJSonhelper.cs

?????文件???????3519??2008-09-21?21:28??ExjsHotel\BLL\FormJSonhelper.cs

?????文件???????3631??2008-09-21?21:28??ExjsHotel\BLL\GridJSonhelper.cs

?????文件???????1668??2008-09-30?21:57??ExjsHotel\BLL\GuestInfoBLL.cs

?????文件???????3576??2008-09-29?21:10??ExjsHotel\BLL\JSonhelper.cs

?????文件???????1356??2008-09-18?18:37??ExjsHotel\BLL\NavBLL.cs

?????文件????????242??2008-09-24?15:24??ExjsHotel\BLL\obj\BLL.csproj.FileList.txt

?????文件???????2669??2008-10-15?19:01??ExjsHotel\BLL\obj\BLL.csproj.FileListAbsolute.txt

?????文件??????36864??2008-10-15?19:01??ExjsHotel\BLL\obj\Debug\BLL.dll

?????文件??????87552??2008-10-15?19:01??ExjsHotel\BLL\obj\Debug\BLL.pdb

?????文件??????16384??2008-09-19?12:21??ExjsHotel\BLL\obj\Debug\Refactor\BLL.dll

?????目錄??????????0??2008-10-16?07:59??ExjsHotel\BLL\obj\Debug\Refactor

?????文件?????133894??2008-10-17?12:37??ExjsHotel\BLL\obj\Debug\ResolveAssemblyReference.cache

?????目錄??????????0??2008-09-17?20:25??ExjsHotel\BLL\obj\Debug\TempPE

?????目錄??????????0??2008-10-17?12:37??ExjsHotel\BLL\obj\Debug

?????目錄??????????0??2008-10-16?07:59??ExjsHotel\BLL\obj

?????文件???????1749??2008-09-22?11:37??ExjsHotel\BLL\OpenRoomInfoBLL.cs

?????文件???????3033??2008-09-29?22:40??ExjsHotel\BLL\OpenRoomRecordInfoBLL.cs

?????文件????????170??2008-09-15?21:05??ExjsHotel\BLL\OrderRoomInfoBLL.cs

?????文件???????1325??2008-09-15?08:46??ExjsHotel\BLL\Properties\AssemblyInfo.cs

............此處省略1256個文件信息

評論

共有 條評論

相關資源