private string selectBiaoNum(HttpContext context) { Json jsonResult = new Json(); string gameid = context.Request["gameid"]; string juid = context.Request["juid"]; DataTable result = ms.selectBiaoNum(gameid, juid); if (result == null || result.Rows.Count == 0) { jsonResult.Success = false; } else { jsonResult.Success = true; jsonResult.Result = result; } string strJson = JsonConvert.SerializeObject(jsonResult); return(strJson); }