随笔分类 - C#
摘要:// Add Excel as content type and attachment Response.ContentType = “application/vnd.ms-excel”; Response.AddHeader(“Content-Disposition”, “attachment;
阅读全文
摘要://静态构造函数的单例模式public sealed class Singleton{ private static readonly Singleton _instance = new Singleton(); static Singleton() { } priva...
阅读全文