摘要:
using (OpenFileDialog ofd = new OpenFileDialog()) { ofd.Title = "请选择要插入的图片"; ofd.Filter = "JPG图片|*.jpg|BMP图片|*.bmp|Gif图片|*.gif"; ofd.CheckFileExists = 阅读全文
posted @ 2019-09-02 11:47
芮源
阅读(223)
评论(0)
推荐(0)
摘要:
List<DeptInfo> deptList = (from emp in empList where emp.Status == "在职" //筛选“在职”员工 orderby emp.DeptID ascending //按“部门ID”排序 group emp by new //按“部门ID” 阅读全文
posted @ 2019-09-02 11:42
芮源
阅读(1726)
评论(0)
推荐(0)
摘要:
public static async Task<List<Syncchip>> DownSyncchipList(int id) { using (var client = new HttpClient()) { try { string url = ApiServer.url+"/school/ 阅读全文
posted @ 2019-09-02 11:39
芮源
阅读(1079)
评论(0)
推荐(0)
摘要:
芮源: public class IsInternet { /// <summary> /// 判断是否有网 /// </summary> /// <returns>true为有网,false为无网</returns> public bool IsInternetAvailable() { try 阅读全文
posted @ 2019-09-02 11:35
芮源
阅读(584)
评论(0)
推荐(0)
摘要:
//分组去重 Tag_data = Tag_data.GroupBy(p => p.epc).Select(g => g.First()).OrderBy(o=>o.epc).ToList(); //去除字符串的空格 string trim = Regex.Replace(epc.epc, @"\s 阅读全文
posted @ 2019-09-02 11:33
芮源
阅读(474)
评论(0)
推荐(0)

浙公网安备 33010602011771号