2006年8月23日
摘要: 新建一个文件:upfile.aspx在页面中添加button和file field转到upfile.aspx.cs页面。先添加“using System.IO;”的引用,然后在“Page_Load”事件里输入以下代码: if (!this.IsPostBack) {} 再在“Button_Click”事件里加入以下代码:if (this.picname.PostedFile!=null)... 阅读全文
posted @ 2006-08-23 16:58 Edwin213 阅读(467) 评论(0) 推荐(0) 编辑