sum values if same

admin

Administrator
Staff member
I have XML documents that are returned from a Web Service, which are each put into an array.

sXml(i) = "<foobar><foo1></foo1><foo2></foo2></foobar>"

They all have the same elements. From my results, I need to sum <foo1> if <foo2> is the same and display in a datagrid.

Any suggestions?
ang
 
Back
Top