上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: using DevExpress.Utils; using DevExpress.Web; using DevExpress.Web.Mvc; using DevExpress.Web.Mvc.UI; using System; using System.Collections.Generic; u 阅读全文
posted @ 2020-03-06 15:41 Jack He 阅读(616) 评论(0) 推荐(0) 编辑
摘要: 效果图: Gridview. cshtml DevExpressGridHelper gridHelper = new DevExpressGridHelper(settings);gridHelper.AddCheckBoxColumnWithinHeader(Html, "AddToRpt", 阅读全文
posted @ 2020-03-06 15:38 Jack He 阅读(515) 评论(0) 推荐(0) 编辑
摘要: An existing connection was forcibly closed by the remote host 或者提示如下图 引发此问题有可能是禁用了TLS1.2导致的. 进入注册表, 找到TLS1.2在Client 目录下 把值改为1即可 HKEY_LOCAL_MACHINE\SYS 阅读全文
posted @ 2020-03-04 11:30 Jack He 阅读(657) 评论(0) 推荐(0) 编辑
摘要: sqlserver中格式化时间:yyyyMMddHHmmss->yyyy-MM-dd HH:mm:ss -- bigint 格式化时间 yyyy-MM-dd HH:mm:ss select FORMAT(20161207160310,'####-##-## ##:##:##') time -- va 阅读全文
posted @ 2020-03-03 14:22 Jack He 阅读(4662) 评论(0) 推荐(0) 编辑
摘要: //ModalChargeGridView Gridview的名字//Con_Shp_Chg 数据库表名//ConShpChgUID UID或者是标识列//gs_Language 语言(中英文)//ljs_HeaderWhereJson where的条件. 一般用于主表跟子表 GetChargeUpdateDataJson(ModalChargeGridView,"Con_Shp_Chg",... 阅读全文
posted @ 2019-03-01 16:46 Jack He 阅读(747) 评论(0) 推荐(0) 编辑
摘要: 需求: 点发送邮件按钮的时候, 自动在客户端电脑打开默认邮件的窗口,并且把内容和附件都附加上去. 解决方案: 尝试使用过Microsoft.Office.Interop.Outlook 和 MPAI.dll 都无法实现, 在本地debug的时候是完全没问题的, 但是部署到IIS上后发现 这两个方式都 阅读全文
posted @ 2019-03-01 16:26 Jack He 阅读(433) 评论(0) 推荐(0) 编辑
摘要: // 方法一function toThousands(num) { var result = [ ], counter = 0; num = (num || 0).toString().split(''); for (var i = num.length - 1; i >= 0; i--) { co 阅读全文
posted @ 2018-11-28 13:32 Jack He 阅读(30137) 评论(2) 推荐(6) 编辑
摘要: View Javascript Controller ExcelHelper 阅读全文
posted @ 2018-11-14 15:39 Jack He 阅读(2193) 评论(0) 推荐(0) 编辑
摘要: 当用户没有选择日期的时候, 默认显示当前的时间给TimeEdit. 只有当用户选了日期后, 才会把时间带进去. 效果图: 实现 C# Helper Code CardView partial View, 当然你也可以直接在页面里面进行调用helper, 或者把Helper的code写到页面 Inde 阅读全文
posted @ 2018-10-19 16:59 Jack He 阅读(2166) 评论(0) 推荐(0) 编辑
摘要: //选中指定的Item, SelectItemByValue(cboModalDepCode,lboModalDepCode,Value); 全部取消选中(多选) ResetListBox(cboSearchDepCode, lboSearchDepCode); 全部取消选中(单选) ResetSi 阅读全文
posted @ 2018-10-18 11:12 Jack He 阅读(627) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页