Hi there,
I'm creating a webservice to return a number of items from a database. At the moment, I'm returning a DataSet of my results in the file. This is working ok but I have noticed my results are grouped as "NewDataSet". Is there a way I can customise the format of the XML returned.
e.g.
I'm creating a webservice to return a number of items from a database. At the moment, I'm returning a DataSet of my results in the file. This is working ok but I have noticed my results are grouped as "NewDataSet". Is there a way I can customise the format of the XML returned.
e.g.
Code:
<NewDataSet xmlns=""> <Item diffgr:id="item1" msdata:rowOrder="0"> <unique_id>171</unique_id> <reference>ITM-171</reference> <title>test 3</title> </Item> <Item diffgr:id="item2" msdata:rowOrder="1"> <unique_id>160</unique_id> <reference>ITM-171</reference> <title>test 1</title>
</Item>