資源簡介
MVC酒店管理系統時基于C#開發的系統,可以作為開發參考.zip
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
namespace?Common
{
????///?
????///?生成?Ajax?響應消息?字符串
????///?數據格式:{“statu“:“err““msg“:“出錯啦~~““data“:[{}{}]“nextUrl“:“Login.aspx“}
????///?
????public?static?class?AjaxMsgHelper
????{
????????#region?1.0?生成?Ajax消息?字符串?+static?string?AjaxMsg
????????///?
????????///?生成?Ajax消息?字符串
????????///?
????????///?
????????///?
????????///?
????????public?static?void?AjaxMsg(string?statu?string?msg)
????????{
????????????AjaxMsgHelper.AjaxMsg(statu?msg?“null“?“null“);
????????}
????????///?
????????///?生成?Ajax消息?字符串
????????///?
????????///?
????????///?
????????///?
????????///?
????????public?static?void?AjaxMsg(string?statu?string?msg?string?data)
????????{
????????????AjaxMsgHelper.AjaxMsg(statu?msg?data?“null“);
????????}
????????///?
????????///?生成?Ajax消息?字符串
????????///?
????????///?
????????///?
????????///?
????????///?
????????///?
????????public?static?void?AjaxMsg(string?statu?string?msg?string?data?string?nextUrl)
????????{
????????????//{“statu“:“err““msg“:“出錯啦~~““data“:[{}{}]“nextUrl“:“Login.aspx“}
????????????string?strMsg?=?“{\“statu\“:\““?+?statu?+?“\“\“msg\“:\““?+?msg.Replace(‘“‘?‘?‘).Replace(‘\‘‘?‘?‘).Replace(“\r\n“?““)?+?“\“\“data\“:“?+?(data?==?null???“null“?:?data)?+?“\“nextUrl\“:“?+?(nextUrl?==?null???“null“?:?“\““?+?nextUrl?+?“\““)?+?“}“;
????????????//直接輸出?數據?到?瀏覽器
????????????System.Web.HttpContext.Current.Response.Write(strMsg);
????????}?
????????#endregion
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-12-03?17:55??MVC酒店管理系統\
?????目錄???????????0??2013-11-16?13:37??MVC酒店管理系統\Common\
?????文件????????2069??2013-05-07?07:59??MVC酒店管理系統\Common\AjaxMsgHelper.cs
?????文件????????3493??2013-11-16?13:46??MVC酒店管理系統\Common\Common.csproj
?????文件?????????294??2013-11-16?13:19??MVC酒店管理系統\Common\DataGridMoldel.cs
?????文件????????1039??2013-05-05?18:10??MVC酒店管理系統\Common\DataHelper.cs
?????文件????????6351??2013-11-08?10:23??MVC酒店管理系統\Common\FileHelper.cs
?????文件?????????924??2013-10-22?16:14??MVC酒店管理系統\Common\ModelTools.cs
?????文件????????4054??2013-05-10?17:01??MVC酒店管理系統\Common\PageHelper.cs
?????文件?????????703??2013-05-05?15:24??MVC酒店管理系統\Common\PagedAjaxData.cs
?????目錄???????????0??2013-10-07?11:03??MVC酒店管理系統\Common\Properties\
?????文件????????1332??2013-05-04?17:37??MVC酒店管理系統\Common\Properties\AssemblyInfo.cs
?????目錄???????????0??2013-12-03?17:57??MVC酒店管理系統\Common\Service?References\
?????文件?????????619??2013-05-04?17:39??MVC酒店管理系統\Common\ValidateHelper.cs
?????目錄???????????0??2013-10-07?11:03??MVC酒店管理系統\Common\bin\
?????目錄???????????0??2013-11-26?22:44??MVC酒店管理系統\Common\bin\Debug\
?????文件???????10240??2013-11-29?21:55??MVC酒店管理系統\Common\bin\Debug\Common.dll
?????文件???????30208??2013-11-29?21:55??MVC酒店管理系統\Common\bin\Debug\Common.pdb
?????文件?????1116760??2013-10-06?19:48??MVC酒店管理系統\Common\bin\Debug\Entityfr
?????文件?????1138045??2013-10-06?19:48??MVC酒店管理系統\Common\bin\Debug\Entityfr
?????目錄???????????0??2013-11-26?22:44??MVC酒店管理系統\Common\bin\Debug\zh-Hans\
?????文件???????71256??2013-10-06?19:48??MVC酒店管理系統\Common\bin\Debug\zh-Hans\Entityfr
?????目錄???????????0??2013-12-03?17:57??MVC酒店管理系統\Common\bin\Release\
?????目錄???????????0??2013-10-07?11:03??MVC酒店管理系統\Common\obj\
?????目錄???????????0??2013-11-29?21:55??MVC酒店管理系統\Common\obj\Debug\
?????文件????????3724??2013-11-29?21:55??MVC酒店管理系統\Common\obj\Debug\Common.csproj.FileListAbsolute.txt
?????文件???????25015??2013-11-29?21:55??MVC酒店管理系統\Common\obj\Debug\Common.csprojResolveAssemblyReference.cache
?????文件???????10240??2013-11-29?21:55??MVC酒店管理系統\Common\obj\Debug\Common.dll
?????文件???????30208??2013-11-29?21:55??MVC酒店管理系統\Common\obj\Debug\Common.pdb
?????文件????????7383??2013-11-16?13:37??MVC酒店管理系統\Common\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????目錄???????????0??2013-12-03?17:57??MVC酒店管理系統\Common\obj\Debug\TempPE\
............此處省略1009個文件信息
評論
共有 條評論