摘要: #region Redis Hash散列数据类型操作 /// <summary> /// Redis散列数据类型 批量新增 /// </summary> void HashSet(string key, List<HashEntry> hashEntrys, CommandFlags flags = 阅读全文
posted @ 2020-01-07 14:07 BloggerSb 阅读(685) 评论(0) 推荐(0)
摘要: 方法一: 直接在function里面加入layer.closeAll(‘dialog’); 方法二: 修改function(),function(index),这种方式,官方是支持的。具体可以看官方文档demo的写法 阅读全文
posted @ 2020-01-07 14:04 BloggerSb 阅读(11303) 评论(0) 推荐(0)
摘要: 一般来说导出excel时 如果是excel97~2003,那么content-type应该设置为:application/vnd.ms-excel, 如果是excel2007以后的,那么content-type应该设置为:application/vnd.openxmlformats-officedo 阅读全文
posted @ 2020-01-07 14:02 BloggerSb 阅读(10962) 评论(0) 推荐(0)
摘要: using (TransactionScope trans = new TransactionScope()) { try { InsertUserBase(); //它插入不成功,自己回滚 UserInfos userInfo = new UserInfos { UserID = "1", Rea 阅读全文
posted @ 2020-01-07 12:31 BloggerSb 阅读(250) 评论(0) 推荐(0)