Var grouped = downloadData.GroupBy(p => p.Var action = state.GetValue("action").Value() String strSql = string.Format("SELECT tpc.ContentSequence,tpc.ContentValue,tpc.ID,tpc.ModuleID,tpc.PageID,tpc.TemplateID ,tm.ModuleType FROM tbl_page_content AS tpc LEFT JOIN tbl_module AS tm ON tm.ID=tpc.ModuleID WHERE tpc.PageID= rows of data.", downloadData.Count) Using (venuesEntities db = new venuesEntities()) Public static string GetPageContentByPageId(int pageId, string loginUserInfo) Obj.Add("totalcount", Convert.ToInt32(ds.Tables.Rows)) Obj.Add("lost", Convert.ToDecimal(ds.Tables.Rows) - Convert.ToDecimal(dr) * 100) Obj.Add("draw", Convert.ToDecimal(ds.Tables.Rows) - Convert.ToDecimal(dr) * 100) Obj.Add("win", Convert.ToDecimal(ds.Tables.Rows) - Convert.ToDecimal(dr) * 100) " and e_draw=" + dr + " and e_lost=" + dr) String oddsArray = Request.Split('|') ĭataTable dt = this.FillOddsHistory(oddsArray) //填充ĭateTime stime = Convert.ToDateTime(dt.Compute("max(time)", "")).AddHours(-6) // 6小时内ĭt = dt.Select("time > '" + stime.ToString() + "'").CopyToDataTable() ĭataSet ds = scheduleBLL.statOddsHistory("companyid=" + oddsArray + " and e_win=" + dr + Protected void Page_Load(object sender, EventArgs e) Return JsonConvert.DeserializeObject(response) HttpWebResponse.StatusCode != HttpStatusCode.Conflict) Var httpWebResponse = e.Response as HttpWebResponse ContinueWith(writeTask => (req.BeginReadResponseString, req.EndReadResponseString,null)) Return (req.BeginWrite, req.EndWrite, data, null) Var data = (jArray.ToString(Formatting.None)) Var jArray = new JArray(commandDatas.Select(x => x.ToJson())) Var req = HttpJsonRequest.CreateHttpJsonRequest(this, url + "/bulk_docs", "POST", metadata, credentials) Public Task BatchAsync(ICommandData commandDatas) Query.Add("relationships", : ""breadth_first""", jobject.ToString()) RelationShip2.Add("type", new JValue("loves")) RelationShip2.Add("direction", new JValue("all")) RelationShip1.Add("type", new JValue("knows")) RelationShip1.Add("direction", new JValue("all")) Query.Add("uniqueness", new JValue("node_global")) Query.Add("prune_evaluator", pruneEval.ToString()) PruneEval.Add("language", new JValue("javascript")) PruneEval.Add("body", new JValue("position.length() > 10")) Query.Add("return_filter", new JValue(returnFilter.ToString())) ReturnFilter.Add("language", new JValue("javascript")) ReturnFilter.Add("body", new JValue("position.endNode().getProperty('name').toLowerCase().contains('t')")) JProperty orderProp = new JProperty("order", "breadth_first")
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |