上一页 1 2 3 4 5 6 7 ··· 17 下一页
摘要: string url = System.Web.HttpContext.Current.Request.Url.Scheme + "://" + System.Web.HttpContext.Current.Request.Url.Host + ":" + System.Web.HttpContex 阅读全文
posted @ 2017-10-13 14:18 雷雨天的雷胖子 阅读(1110) 评论(0) 推荐(0) 编辑
摘要: 若是有图片,填上ip地址和端口号 阅读全文
posted @ 2017-10-13 14:04 雷雨天的雷胖子 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 1 //2008年4月24日 2 System.DateTime.Now.ToString("D"); 3 //2008-4-24 4 System.DateTime.Now.ToString("d"); 5 //2008年4月24日 16:30:15 6 System.DateTime.No... 阅读全文
posted @ 2017-09-28 16:33 雷雨天的雷胖子 阅读(2959) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Office.Core; using Word = Microsoft.Office.Interop.Word; using Micr... 阅读全文
posted @ 2017-09-18 19:09 雷雨天的雷胖子 阅读(215) 评论(0) 推荐(0) 编辑
摘要: ./当前目录/网站主目录../上层目录~/网站虚拟目录如果当前的网站目录为E:\wwwroot 应用程序虚拟目录为E:\wwwroot\company 浏览的页面路径为E:\wwwroot\company\news\show.asp在show.asp页面中使用Server.MapPath("./") 阅读全文
posted @ 2017-09-18 10:48 雷雨天的雷胖子 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 一、根据虚拟路径获取文件物理路径: string savePath = Server.MapPath("~/Uploads/RemoteDatum/"); 二、判断文件夹是否存在 if (!System.IO.Directory.Exists(@"E:\Files")) { System.IO.Di 阅读全文
posted @ 2017-09-18 10:45 雷雨天的雷胖子 阅读(3431) 评论(0) 推荐(0) 编辑
摘要: var path = Request.Url.Host + ":" + Request.Url.Port + list[i].AnnexPath; //html保存路径 string savePath = Server.MapPath("~/Upload... 阅读全文
posted @ 2017-09-18 09:50 雷雨天的雷胖子 阅读(681) 评论(0) 推荐(0) 编辑
摘要: Hibernate中Criteria的完整用法 Criteria的完整用法 QBE (Query By Example) Criteria cri = session.createCriteria(Student.class); cri.add(Example.create(s)); //s是一个S 阅读全文
posted @ 2017-09-03 01:50 雷雨天的雷胖子 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 链接 阅读全文
posted @ 2017-08-30 10:15 雷雨天的雷胖子 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 一、同域下父子页面的通信 1.父页面调用子iframe页面 (1)通过iframe的Id获取子页面的dom,然后通过内置属性contentWindow取得子窗口的window对象,此方法兼容各个浏览器 document.getElementById('iframe_Id').contentWindo 阅读全文
posted @ 2017-08-26 15:52 雷雨天的雷胖子 阅读(2323) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 17 下一页