Interviews1 answer
Why Web Services does not support data reader?
1 Answer
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.
Manoj KumarPosted Nov 28, 2012, 8:56 PM EST