摘要: 约束说明 where T: struct 类型参数必须是值类型。 可以指定除 Nullable 以外的任何值类型。 有关更多信息,请参见使用可以为 null 的类型(C# 编程指南)。 where T : class 类型参数必须是引用类型;这一点也适用于任何类、接口、委托或数组类型。 where 阅读全文
posted @ 2017-07-25 16:03 南風未起 阅读(4351) 评论(0) 推荐(0)
摘要: 1,子iframe内调用父类函数方法: window.parent.func(); 2,子Iframe中获取父界面的元素: $("#xx", window.parent.document); 这个xx就是父界面中要获取的元素的ID。 3,jquery 调用子iframe页面中js的方法: ifram 阅读全文
posted @ 2017-07-05 16:12 南風未起 阅读(3223) 评论(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 南風未起 阅读(954) 评论(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 南風未起 阅读(522) 评论(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 南風未起 阅读(226) 评论(0) 推荐(0)