摘要: 1,子iframe内调用父类函数方法: window.parent.func(); 2,子Iframe中获取父界面的元素: $("#xx", window.parent.document); 这个xx就是父界面中要获取的元素的ID。 3,jquery 调用子iframe页面中js的方法: ifram 阅读全文
posted @ 2017-07-05 16:12 南風未起 阅读(3228) 评论(0) 推荐(0)
摘要: //加载文档 Document doc = new Document(Server.MapPath("~/ExportTemplate/CLAAS/ServiceReport.doc")); //保存 SetData(doc); doc.Save(Page.Response, "C010.doc", 阅读全文
posted @ 2017-02-25 23:58 南風未起 阅读(959) 评论(0) 推荐(0)
摘要: 原文:http://www.cnblogs.com/mvv118/p/5213660.html 此贴备用 public class JinShuJu { private static string Key = "9hh6fIbLOqDrgin4Q_r6X"; private static strin 阅读全文
posted @ 2017-02-15 15:43 南風未起 阅读(546) 评论(0) 推荐(0)
摘要: 日期脚本 DECLARE @CurrentDate DATETIME=GETDATE(); select DATEADD(dd,0, DATEDIFF(dd,0,@CurrentDate)) AS 当前日期,DATEADD(dd,-1, DATEDIFF(dd,0,@CurrentDate)) AS 阅读全文
posted @ 2017-01-10 22:07 南風未起 阅读(232) 评论(0) 推荐(0)
摘要: --截至日期减开始日期-- DateTime BeginDate = DateTime.Parse(stardate.Value); DateTime EndDate = DateTime.Parse(enddate.Value); TimeSpan EndDateTimeSpan = new Ti 阅读全文
posted @ 2017-01-09 14:19 南風未起 阅读(1741) 评论(0) 推荐(0)