3
Answers

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

User77

User77

8y
203
1
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)