How to delete an item of a xml file from datalist?
Hello comrades.
In my project i have a datalist control that is bound to a XML file (RSS). I put a delete button and also an edit button in every item (ItemTemplate). I want to know what i should write in the commandargument attribute of these buttons to obtain index of the item that the user is clicked the button.
Or generally is there a better way to delete a specific item from the XML file?
Thanks alot.
|