1
Reply

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

Ask a question
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)