Posted on: 6/11/2015 8:29:23 AM | Views : 615

Hello Gurus, I am trying to update the xml file if the EmpId is already exists. I have seen few examples done through grid. but it din worked because i am not using gridview. Here, Based on the EmpId, i need to update the same records. For ex : id EmpId name is 1, and the name changed to Ravi.then it should look like this
Existing Xml File ---------------------- <?xml version="1.0" encoding="utf-8"?> <Employees> <Employee> <EmpId>1</EmpId> <EmpName>Rahul</EmpName> </Employee>
<Employee> <EmpId>2</EmpId> <EmpName>Ram</EmpName> </Employee> </Employees>
Required output ----------------------- <?xml version="1.0" encoding="utf-8"?> <Employees> <Employee> <EmpId>1</EmpId> <EmpN ...

Go to the complete details ...