User77

User77

  • NA
  • 52
  • 27.4k

how can i delete folder along with file in asp.net

Dec 2 2016 2:49 AM
In my webapplication, I need to delete folder along with files. 
 
string path = Server.MapPath(dt.Rows[0]["AudioPath"].ToString());
 
Path like this Audios\Demo\General\Ortho123\Ortho_123.wav
 
i need to delete in that folder(Ortho123\Ortho_123.wav) along with file.
 
How can i delete folder along with path can anyone please tell me.
 
Thank you. 

Answers (3)