MVC酒店管理系统


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(“
“ ““) + “““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酒店管理系统CommonAjaxMsgHelper.cs
     文件        3493  2013-11-16 13:46  MVC酒店管理系统CommonCommon.csproj
     文件         294  2013-11-16 13:19  MVC酒店管理系统CommonDataGridMoldel.cs
     文件        1039  2013-05-05 18:10  MVC酒店管理系统CommonDataHelper.cs
     文件        6351  2013-11-08 10:23  MVC酒店管理系统CommonFileHelper.cs
     文件         924  2013-10-22 16:14  MVC酒店管理系统CommonModelTools.cs
     文件        4054  2013-05-10 17:01  MVC酒店管理系统CommonPageHelper.cs
     文件         703  2013-05-05 15:24  MVC酒店管理系统CommonPagedAjaxData.cs
     目录           0  2013-10-07 11:03  MVC酒店管理系统CommonProperties
     文件        1332  2013-05-04 17:37  MVC酒店管理系统CommonPropertiesAssemblyInfo.cs
     目录           0  2013-12-03 17:57  MVC酒店管理系统CommonService References
     文件         619  2013-05-04 17:39  MVC酒店管理系统CommonValidateHelper.cs
     目录           0  2013-10-07 11:03  MVC酒店管理系统Commonin
     目录           0  2013-11-26 22:44  MVC酒店管理系统CommoninDebug
     文件       10240  2013-11-29 21:55  MVC酒店管理系统CommoninDebugCommon.dll
     文件       30208  2013-11-29 21:55  MVC酒店管理系统CommoninDebugCommon.pdb
     文件     1116760  2013-10-06 19:48  MVC酒店管理系统CommoninDebugEntityframework.dll
     文件     1138045  2013-10-06 19:48  MVC酒店管理系统CommoninDebugEntityframework.xml
     目录           0  2013-11-26 22:44  MVC酒店管理系统CommoninDebugzh-Hans
     文件       71256  2013-10-06 19:48  MVC酒店管理系统CommoninDebugzh-HansEntityframework.resources.dll
     目录           0  2013-12-03 17:57  MVC酒店管理系统CommoninRelease
     目录           0  2013-10-07 11:03  MVC酒店管理系统Commonobj
     目录           0  2013-11-29 21:55  MVC酒店管理系统CommonobjDebug
     文件        3724  2013-11-29 21:55  MVC酒店管理系统CommonobjDebugCommon.csproj.FileListAbsolute.txt
     文件       25015  2013-11-29 21:55  MVC酒店管理系统CommonobjDebugCommon.csprojResolveAssemblyReference.cache
     文件       10240  2013-11-29 21:55  MVC酒店管理系统CommonobjDebugCommon.dll
     文件       30208  2013-11-29 21:55  MVC酒店管理系统CommonobjDebugCommon.pdb
     文件        7383  2013-11-16 13:37  MVC酒店管理系统CommonobjDebugDesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2013-12-03 17:57  MVC酒店管理系统CommonobjDebugTempPE
............此处省略1009个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)