SqlCeDataReader.Read Method
Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.
Advances SqlCeDataReader to the next record.
[Visual Basic] Public Overridable Function Read() As Boolean Implements _ IDataReader.Read [C#] public virtual bool Read(); [C++] public: virtual bool Read(); [JScript] public function Read() : Boolean;
Return Value
true if there are more rows; otherwise, false.
Implements
Remarks
The default position of the SqlCeDataReader is prior to the first record. To begin accessing any data, you must call Read.
While SqlCeDataReader is in use, the associated SqlCeConnection is busy serving it until you call Close.
Requirements
Platforms: .NET Compact Framework
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
SqlCeDataReader Class | SqlCeDataReader Members | System.Data.SqlServerCe Namespace
Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.