文章分类 -  WinForm

摘要://这是一个上传图片的例子,上传其他文件都一样 string strFileFullName = System.IO.Path.GetFileName(this.FileUpload1.PostedFile.FileName); if (strFileFullName.Length > 0) { if (FileUpload1.HasFile) { string newFileName = GetNewFileName(strFileFullName); string path = Server.MapPath("[服务器端存储图片的路径]" + newFileNam 阅读全文
posted @ 2012-10-09 10:25 xiaohongqi 阅读(994) 评论(0) 推荐(0)