1
Answer

Delete File from Server

Photo of Sunny Singh

Sunny Singh

13y
2.2k
1
Hi

   How to delete file from Server and before deleting giving option whether user wants to delete it or not.

Thanx

Answers (1)

0
Photo of Deepak Sharma
NA 4.8k 4.6m 13y
You can delete file on the serber using Fil.Delete("filePath") method of System.IO class.

For confirmation you can use JavaScript

http://www.pageresource.com/jscript/jconfirm.htm