2008年5月9日
摘要: 3种方法分别是: string a=""; 1.if(a=="") 2.if(a==String.Empty) 3.if(a.Length==0) 第三种性能最优.分析来自清清月儿博客。 而我唯一一个会用的方法if(a=="") 是性能最差的。 以后绝不用这种方法了~ 阅读全文
posted @ 2008-05-09 17:04 超少 阅读(1101) 评论(0) 推荐(0) 编辑
摘要: protected void ButtonExport_Click(object sender, EventArgs e) { string strFileName = "../excel/template.xls";//"D:\\template\\template.xls"; string strSaveFileName = "../excel/" ... 阅读全文
posted @ 2008-05-09 17:01 超少 阅读(361) 评论(0) 推荐(0) 编辑