blutarsky
16 Oct 2007, 2:16 AM
Hi everybody,
Is there a way using a HttpProxy class or similar, to load data from remote server and merging ( not to overwrite as do default ) the xml result into the existing data grid.
example:
first call:
2 rows returned
<items>
<item>
<idInstrument>0001</idInstrument>
<lastPrice>13</lastPrice>
</item>
<item>
<idInstrument>0002</idInstrument>
<lastPrice>20</lastPrice>
</item>
</items>
result grid
idInstrument lastPrice
001 13
002 20
second call:
only one row with already defined id in the first call:
<items>
<item>
<idInstrument>0002</idInstrument>
<lastPrice>30</lastPrice>
</item>
</items>
and so I would view
idInstrument lastPrice
001 13
002 30
thank a lot
best regards
Is there a way using a HttpProxy class or similar, to load data from remote server and merging ( not to overwrite as do default ) the xml result into the existing data grid.
example:
first call:
2 rows returned
<items>
<item>
<idInstrument>0001</idInstrument>
<lastPrice>13</lastPrice>
</item>
<item>
<idInstrument>0002</idInstrument>
<lastPrice>20</lastPrice>
</item>
</items>
result grid
idInstrument lastPrice
001 13
002 20
second call:
only one row with already defined id in the first call:
<items>
<item>
<idInstrument>0002</idInstrument>
<lastPrice>30</lastPrice>
</item>
</items>
and so I would view
idInstrument lastPrice
001 13
002 30
thank a lot
best regards