private void statOddsHistoryDate()
 {
     if (Request["rowindex"] != null)
     {
         string strWhere = "";
         if (Request.Form["rowindex"] == "2")
         {
             strWhere = Common.DataCache.GetCache("swhere").ToString();
         }
         else if (Request.Form["rowindex"] == "3")
         {
             strWhere = Common.DataCache.GetCache("ewhere").ToString();
         }
         if (!String.IsNullOrEmpty(strWhere))
         {
             DataSet        ds         = scheduleBLL.statOddsHistoryGroupByDate(Common.DataCache.GetCache("rangqiu").ToString(), strWhere);
             JObject        result     = JObject.Parse("{success:true}");
             JsonSerializer serializer = new JsonSerializer();
             serializer.Converters.Add(new JavaScriptDateTimeConverter());
             serializer.NullValueHandling = NullValueHandling.Ignore;
             result.Add("data", JArray.FromObject(ds.Tables[0], serializer));
             JsonConvert.SerializeObject(ds.Tables[0], new JavaScriptDateTimeConverter());
             StringJSON = result.ToString();
         }
     }
 }