Re: DbDataReader.Read() result



Which is why in all the DataReader examples you see, they say:

While dr.Read()

HTH
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com


"Kevin Yu [MSFT]" <v-kevy@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:yIoDdzc4FHA.3220@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi dave,
>
> Yes, the Read method returns false when it has gone after the last row,
> which mean EOF. Or true will be returned.
>
> Kevin Yu
> =======
> "This posting is provided "AS IS" with no warranties, and confers no
> rights."
>


.



Relevant Pages