How do you remove files from a folder using ASP.Net with C# ?
foreach (var file in Directory.GetFiles(path))
{
File.Delete(file);
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With