public static void DeleteFile(string fileUrl)
        {
            string file = System.Web.HttpContext.Current.Server.MapPath(fileUrl);
            if (System.IO.File.Exists(file))
            {
                System.IO.File.Delete(file);
            }
        }

 

相关文章:

  • 2022-12-23
  • 2022-02-08
  • 2021-05-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
  • 2022-01-04
相关资源
相似解决方案