First I ll describe the scenario, I have to do solution on in this way only, so please provide solution according to situation.
1. I have an XML file "CurrentStatus.xml"
2. at the runtime in page_load section i am doing all this coding to retrive the data.
3. I have to cross check nodes from start to end, and if certain creteria meet I want to delete those nodes.
conditon is :
if ((GROUP_NAME[first node] == GROUP_NAME[any node except first node]) && (DEVICE_NAME[first node] == DEVICE_NAME2[any node except first node])) && (ASSIGNED_OR_RETURNED[first node] = "Assigned but not Returned[any node except first node]"))
then I need to remove these 2 nodes from the xml, and then again loop will start to check all such nodes, so that finally I have only those nodes which have different ASSIGNED_OR_RETURNED with different GROUP_NAME and DEVICE_NAME. These values are going in different drop down list in different pages, so that further combination I can create.
I am using some code like this but not sure weather it ll work :(
XmlNodeList xmlNL = returnxml.GetElementsByTagName("GROUP_NAME");
View Complete Post