Mrudul Ganpule

Mrudul Ganpule

  • NA
  • 23
  • 25.5k

How to convert ReadOnlyCollection class data to xml data

May 13 2014 7:11 AM
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)