随笔分类 -  Devexpress MVC

摘要:近期因为global对服务器的调整, 使用citrix添加了对SQL Injection的防火墙。 目前的做法是将所有的数据传入后台的时候全部进行加密, 然后在C#后台进行解密, 之后再传入到数据库中. 在此分享在devexpress gridview遇到的几个问题 1. 在gridview中编辑了 阅读全文
posted @ 2022-07-06 11:26 Jack He 阅读(88) 评论(0) 推荐(0)
摘要: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 阅读(632) 评论(0) 推荐(0)
摘要:效果图: Gridview. cshtml DevExpressGridHelper gridHelper = new DevExpressGridHelper(settings);gridHelper.AddCheckBoxColumnWithinHeader(Html, "AddToRpt", 阅读全文
posted @ 2020-03-06 15:38 Jack He 阅读(529) 评论(0) 推荐(0)
摘要:需求: 点发送邮件按钮的时候, 自动在客户端电脑打开默认邮件的窗口,并且把内容和附件都附加上去. 解决方案: 尝试使用过Microsoft.Office.Interop.Outlook 和 MPAI.dll 都无法实现, 在本地debug的时候是完全没问题的, 但是部署到IIS上后发现 这两个方式都 阅读全文
posted @ 2019-03-01 16:26 Jack He 阅读(444) 评论(0) 推荐(0)
摘要:View Javascript Controller ExcelHelper 阅读全文
posted @ 2018-11-14 15:39 Jack He 阅读(2236) 评论(0) 推荐(0)
摘要://选中指定的Item, SelectItemByValue(cboModalDepCode,lboModalDepCode,Value); 全部取消选中(多选) ResetListBox(cboSearchDepCode, lboSearchDepCode); 全部取消选中(单选) ResetSi 阅读全文
posted @ 2018-10-18 11:12 Jack He 阅读(640) 评论(0) 推荐(0)
摘要://获取gridview里面的combo box 显示的文本 //获取某个column在gridview的 index RightGridView.GetColumnByField("FunUID").index //获取gridview里面的combo box 显示的文本 RightGridVie 阅读全文
posted @ 2018-10-18 11:03 Jack He 阅读(1663) 评论(0) 推荐(0)
摘要:1. 根据选中的KeyValue 来获取其他field的value 2. 根据某些field的value来改变cell的backcolor 3.通过jquery获取gridview cell的value. 4.设置hyperlink column 阅读全文
posted @ 2018-03-23 15:30 Jack He 阅读(1300) 评论(0) 推荐(0)