Returning Oracle Data Reader

  • Thread starter Thread starter Anon
  • Start date Start date
A

Anon

I have a method that returns OracleDataReader type. I am
having problems calling the method from Web Services.
Can the Oracle Data Provider for .NET be serialized? if
not what are my alternatives.
 
Hi,

The DataReader can not be serialized, you could consider returning a DataSet
or a collection.

Hope this helps
 
DataReader can not be serialized. A Dataset can be serialized and should be
used in this situation
 
Back
Top