Re: Invalid attempt to read when no data is present
- From: "Chris Dunaway" <dunawayc@xxxxxxxxx>
- Date: 21 Dec 2005 06:33:56 -0800
I get this error when I try to get the value of a column without first
calling the .Read method of the DataReader. Generally, you should
check the return from the .Read method:
While dtrReceivers.Read
'Read the values here
End While
..Read will return false when there are no more rows to read.
.
- Prev by Date: Re: Invalid attempt to read when no data is present
- Next by Date: Re: FtpWebRequest
- Previous by thread: Re: Invalid attempt to read when no data is present
- Next by thread: Re: Invalid attempt to read when no data is present
- Index(es):