1
Reply

Why Web Services does not support data reader?

Aditya Khurana

Aditya Khurana

Nov 20, 2012
4.2k
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.

    Manoj Kumar
    November 29, 2012
    1