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.
 
Back
Top