K S Reddi Prasad

K S Reddi Prasad

  • NA
  • 28
  • 75.3k

How to Remove XML Node when the User selects Appropriate item in the List Box.

Nov 18 2010 12:34 AM
Hi All,

 I am recently stepped into XML Programming, and my Problem is like this:

Currently,  my work is:" I am having a list of Elements in my "TemplateMaster.xml " file. when form is loaded, i have to load all the Elements (Templates)  in the Listbox.and i am also storing these Elements in  "AppData/Templates/GivenTemplate Name"  Folder. I got this functionality.

Now, the situation is like that, if i select a particular item in the List box and Click the Delete Button( in my Form), the selected  listbox item has to be deleted along with that element in "templateMaster.xml" and the the Folder with "Given Template name".

  Please Help me Deleting the Elements in Xml File along with the Folder in "AppData/Templates" when the User deletes a particular Item in the listbox.

Thanks,
K.S.Reddi Prasad.

Answers (1)