Marco,
There wouldn't be much point returning a SqlDataReader
because it is connection orientated, so you can't "serialize"
a network connection. By default, your only option is a DataSet.
----------------------------------------
- Mitch Denny
- http://www.warbyte.com
- mitch.denny@w...
- +61 (414) 610-141
-
> -----Original Message-----
> From: Marco Paolieri [mailto:mpaolieri@t...]
> Sent: Monday, 6 August 2001 9:12 PM
> To: ASPX_Professional
> Subject: [aspx_professional] Question
>
>
> Hi, I'm developing a web service, exactly a data web service.
> I must only read all records in a SQL Table and print them on
> the browser.
> So I want to know in your opinion if is better make a web method in
> the .asmx that returns a DataSet or a SQLDataReader.
>
> Pls answer me
> Bye
> Marco
>