摘要: /// <summary>/// 用正则表达式去掉Html中的script脚本和html标签/// </summary>/// <param name="Htmlstring"></param>/// <returns></returns>public static string NoHTML(st 阅读全文
posted @ 2020-05-21 16:14 逝者永生 阅读(478) 评论(0) 推荐(0) 编辑
摘要: public bool FileExist(string RemoteFileName) { string[] fileList = GetFileList("*.*"); if (fileList != null) { foreach (string str in fileList) { if ( 阅读全文
posted @ 2017-07-17 16:27 逝者永生 阅读(532) 评论(0) 推荐(0) 编辑
摘要: /// <summary> ///为文件夹添加users,everyone用户组的完全控制权限 /// </summary> /// <param name="dirPath"></param> static void AddSecurityControll2Folder(string dirPat 阅读全文
posted @ 2017-07-17 16:23 逝者永生 阅读(2084) 评论(0) 推荐(0) 编辑
摘要: public partial class DownloadFile : System.Web.UI.Page{ private string sysID = "AM50"; protected void Page_Load(object sender, EventArgs e) { string d 阅读全文
posted @ 2017-06-22 16:39 逝者永生 阅读(848) 评论(0) 推荐(0) 编辑
摘要: INSTR于sqlserver 的charindex参数相反 GROUP BY 分组去重 SELECT ugrid, ugid,userid,username,face,ctid FROM ct_usergrouprelation where INSTR(strsql,ugid)>0 GROUP B 阅读全文
posted @ 2017-03-31 11:09 逝者永生 阅读(14253) 评论(0) 推荐(0) 编辑
摘要: 添加前缀update `ecs_goods` set goods_name=concat('新中式',goods_name) where cat_id =4; 添加后缀update `ecs_goods` set goods_name=concat(goods_name,'新中式') where c 阅读全文
posted @ 2017-03-17 17:27 逝者永生 阅读(2228) 评论(0) 推荐(0) 编辑
摘要: 说明: 1) PLSQL开发笔记和小结收集自http://www.blogjava.net/cheneyfree/ 2)分析函数简述收集自http://space.itpub.net/7607759/ 3)剩下的99%收集自: http://www.blogjava.net/pengpenglin/ 阅读全文
posted @ 2017-03-09 19:50 逝者永生 阅读(187) 评论(0) 推荐(0) 编辑
摘要: document.onkeydown = function (e) { e = e || event; if (e.keyCode == 37) { //上键对应37 $scope.PrevInfo(); //上一页方法 } if (e.keyCode == 39) { //下键对应39 $scop 阅读全文
posted @ 2017-03-09 19:45 逝者永生 阅读(1468) 评论(0) 推荐(0) 编辑
摘要: 方法一: //判断文件是否存在 function IsExstsFile(filespec) { var fso = new ActiveXObject("Scripting.FileSystemObject"); if (fso.FileExists(filespec)) return true; 阅读全文
posted @ 2017-02-20 14:46 逝者永生 阅读(16691) 评论(1) 推荐(0) 编辑
摘要: 当单击按键时触发事件 document.onkeydown = function (e) { e = e || event; if (e.keyCode == 13) { //判断是否单击的enter按键(回车键) document.getElementByIdx_x_x("txtid").clic 阅读全文
posted @ 2017-01-16 17:26 逝者永生 阅读(783) 评论(0) 推荐(0) 编辑