1
Reply

Why Web Services does not support data reader?

Aditya Khurana

Aditya Khurana

12y
4.2k
0
Reply

    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.