08 2022 档案

摘要:<select id="sel_YJCL" runat="server"></select> <input type="button" id="btn_YJCL" runat="server" style="display: none" onserverclick="dp_YJCL_Selected 阅读全文
posted @ 2022-08-25 16:03 尧荣华 阅读(753) 评论(0) 推荐(0) 编辑
摘要:string Jsonstr = ConvertJson.ToJson(dt_no); string Mismatch = "{\"YWName\":\"" + "GHHT" + "\",\"Detail\":" + Jsonstr + " }"; AlertMessage_OK("检测到您有部分材 阅读全文
posted @ 2022-08-11 16:59 尧荣华 阅读(287) 评论(0) 推荐(0) 编辑
摘要://DataTable 创建列 追加行数据DataTable dt_no = new DataTable(); dt_no.Columns.Add("CLMC", typeof(string)); dt_no.Columns.Add("GGXH", typeof(string)); dt_no.Co 阅读全文
posted @ 2022-08-11 16:48 尧荣华 阅读(277) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// Datatable转换为Json /// </summary> /// <param name="table">Datatable对象</param> /// <returns>Json字符串</returns> public static string ToJs 阅读全文
posted @ 2022-08-11 16:38 尧荣华 阅读(701) 评论(0) 推荐(0) 编辑
摘要:获得当前系统时间: DateTime dt = DateTime.Now; Environment.TickCount可以得到“系统启动到现在”的毫秒值 DateTime now = DateTime.Now; Console.WriteLine(now.ToString("yyyy-MM-dd") 阅读全文
posted @ 2022-08-10 18:21 尧荣华 阅读(1465) 评论(0) 推荐(0) 编辑
摘要:nolock是不加锁查询。能够读取被事务锁定的数据,也称为脏读。 一般用于此类语句中: select * from T with(NOLOCK) where 1=1 阅读全文
posted @ 2022-08-05 16:19 尧荣华 阅读(560) 评论(0) 推荐(0) 编辑
摘要:SELECT * FROM 表 WHERE name IN( SELECT col FROM dbo.Str_Split('apple,banana,lemon,kiwi,orange,coconut',',') ORDER BY col ) 阅读全文
posted @ 2022-08-05 14:30 尧荣华 阅读(18) 评论(0) 推荐(0) 编辑
摘要:/// <summary> /// DataRow转换为DataTable /// </summary> /// <param name="dt"></param> /// <param name="strWhere">筛选的条件</param> /// <returns></returns> pu 阅读全文
posted @ 2022-08-04 17:52 尧荣华 阅读(203) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示