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