Delete An Uploaded Image In ASP.NET
How to delete an uploaded image in ASP.NET ?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
pradeep kumar72 reputationPosted Oct 15, 2012, 9:04 PM EDT
Kirti Sharma7 reputationPosted Oct 15, 2012, 11:14 PM EDT
pradeep kumar72 reputationPosted Oct 16, 2012, 3:35 AM EDT
if you want to delete file from folder
try this
Name space--Using system.IO
File.delete(server.Mappath(filename));
http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx
refer the below link..,