Satish

Satish

  • NA
  • 184
  • 99.5k

Convert dataset to xml

Aug 10 2017 5:28 AM
In my dataset,datetime column is there in that data is like "5/23/2017 1:13:43 PM"but after convert dataset to xml data is getting like "2017-05-23T13:13:43+05:30".How to avoid that datetime convertion.
 
Using this method:
return Content(ds.GetXml(), "text/xml"); 

Answers (1)