I have below a xml file with the below format:
string newCountry="UAE"
I want to insert this "UAE" country to the above xml file, before that I want to check whether "UAE" is already exists in the xml. If not exists then only want to insert otherwise no operation. How can I do this?
Jignesh TrivediPosted Jul 21, 2014, 12:47 AM
Hi,
You can also do same thing using DataSet....
Please refer below link it might help you.
http://babasahebkale.blogspot.in/2012/11/insert-edit-update-delete-in-xml-file.html
http://www.dotnetfox.com/articles/insert-delete-update-records-in-xml-file-Asp-Net-using-C-Sharp-1016.aspx
hope this will help you.
VulpesPosted Jul 20, 2014, 2:46 PM