Delete XML Files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Guys, Can someone please suggest how i can delete XML file? I used
File.Delete method however it only deleted the nodes inside the file but the
file still exists?

Thanks

Manny
 
Hello Manny,

File.Delete has no concept of XML, so it would not just delete the nodes
inside the file. Make sure that you dont have code elsewhere that is recreating
the file.
 
Good iDea.... i will take a look at it. Thanks

Matt Berther said:
Hello Manny,

File.Delete has no concept of XML, so it would not just delete the nodes
inside the file. Make sure that you dont have code elsewhere that is recreating
the file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top