3
Answers

How to convert ReadOnlyCollection class data to xml data

Mrudul Ganpule

Mrudul Ganpule

10y
1.1k
1
I have class as

  ReadOnlyCollection<Intuit.Ipp.Data.SalesReceipt>  dataSalesReceipt ;

  dataSalesReceipt = new ReadOnlyCollection<Intuit.Ipp.Data.SalesReceipt>(customerQueryService.ExecuteIdsQuery("select *  from SalesReceipt").ToList());

How can i convert dataSalesReceipt collection into xml data.?

dataSalesReceipt  contains container, subtag of data.

Ex:
BillAddress is main container(Property) which have City , Street are sub tags.
Answers (3)