04 2011 档案

摘要:方法一:/// <summary> /// 导出方法 /// </summary> /// <param name="fileType"></param> /// <param name="fileName"></param> public void Export(string fileType, string fileName) { Response.Charset = "GB2312"; Response.ContentEncoding = System.Te 阅读全文
posted @ 2011-04-26 17:10 乄蛇~ 阅读(173) 评论(0) 推荐(0)
摘要:Server对象是System.Web.HttpServerUtility类的实例。Server.Transfer()方法该方法与Response.Redirect()方法相似,但速度更快。注意它不能跳转到ASP.NET以外的页面。Server.MachineName属性这个属性代表页面运行所在的计算机名称。Server.MapPath()方法返回对应于Web服务器上特定虚拟文件路径的物理文件路径 阅读全文
posted @ 2011-04-22 17:33 乄蛇~ 阅读(130) 评论(0) 推荐(0)