2011年1月25日
摘要: asp.net 对xml文件的读写,添加,修改,删除操作下面有代码调试正确using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Drawing;using System.Web;using System.Web.SessionState;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.HtmlControls;using System.Xml;private X 阅读全文
posted @ 2011-01-25 12:25 专注NET开发 阅读(145) 评论(0) 推荐(0) 编辑
摘要: //TransmitFile实现下载 protected void Button1_Click1(object sender, EventArgs e) { /* 微软为Response对象提供了一个新的方法TransmitFile来解决使用Response.BinaryWrite 下载超过400mb的文件时导致Aspnet_wp.exe进程回收而无法成功下载的问题。 代码如下: */ string strFileName = "三部闲置设备管理系统操作手册IEMS.ppt"; Response.ContentType = "application/x-zip-compressed"; //R 阅读全文
posted @ 2011-01-25 11:54 专注NET开发 阅读(143) 评论(0) 推荐(0) 编辑