예제 #1
0
        private string getGameInfo(HttpContext context)
        {
            Json      jsonResult = new Json();
            string    orderno    = context.Request["orderno"];
            DataTable dt         = ms.getGameInfo(orderno);

            if (dt != null && dt.Rows.Count > 0)
            {
                jsonResult.Success = true;
                jsonResult.Msg     = dt.Rows[0]["borrowBiaoNum"].ToString();
            }
            else
            {
                jsonResult.Success = true;
            }
            string strJson = JsonConvert.SerializeObject(jsonResult);

            return(strJson);
        }