随笔分类 -  C#

摘要:1.简单形式: var q = from p in db.Products group p by p.CategoryID into g select g; 语句描述:Linq使用Group By按CategoryID划分产品。 说明:from p in db.Products 表示从表中将产品对象 阅读全文
posted @ 2022-11-15 16:21 ch_逆流而上 阅读(258) 评论(0) 推荐(0)
摘要:1. 如何提供一段代码来使用要求的数据运行另一个线程 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System. 阅读全文
posted @ 2022-08-07 10:45 ch_逆流而上 阅读(29) 评论(0) 推荐(0)
摘要:1. $.map 1 function btnUpdate1_click() { 2 var grid = BUI.getControl('grid1'); 3 var selections = grid.getSelection(); 4 if (selections.length == 0) { 阅读全文
posted @ 2021-07-12 11:08 ch_逆流而上 阅读(49) 评论(0) 推荐(0)