类代码~ public class UpLoadFiles : System.Web.UI.Page} 调用代码~ string path="";path = Server.MapPath("路径");if (!Directory.Exists(path)) } 可以对文件强制命名,也可以自动命名。 相关文章: 2022-12-23 2021-12-25 2021-05-22 2021-07-01 2022-12-23 2022-12-23 2021-09-04