Aditya Khurana
Why Web Services does not support data reader?
Posted by Aditya Khurana in Web Services in C# on Nov 20, 2012
  • 0
  • 1
  • 1682
Do you know the answer for this question? Post it below.
Guest
Posted by Manoj Kumar on Nov 29, 2012
  • 0

SqlDatareader reads data from database on bases on live connection.You cannot return a SqlDataReader from a Web Service. This is a stream based object which cannot be serialized to cross machines boundaries over SOAP. You can use the DataSet instead.


PRIVACY POLICY | TERMS & CONDITIONS | SITEMAP | CONTACT US | ABOUT US | REPORT ABUSE
2014© C# Corner. All contents are copyright of their authors.