Hobbes Posted June 21, 2003 Posted June 21, 2003 Greetings! Is there any way to delete a file from a particular folder? Here's what I have to do. I have a database that read and display to the grid containing a image file from a designated folder. I have also create a form to delete records. There is no problem deleting the records, however the image file will not be deleted. I am trying to delete the image file as the record is being deleted. Thank you :) Quote Hobbes...
*Experts* mutant Posted June 21, 2003 *Experts* Posted June 21, 2003 Use: System.IO.File.Delete("pathtofile") Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.