Provides a way of reading a forward-only stream of data rows from a data source. This class cannot be inherited.
Assembly: System.Data (in System.Data.dll)
Before you close the OleDbConnection, first close the object. You must also close the object if you plan to resuse an OleDbCommand object.For example, you cannot retrieve output parameters until after you call Close.
Changes made to a result set by another process or thread while data is being read may be visible to the user of the . However, the precise behavior is timing dependent.
IsClosed and RecordsAffected are the only properties that you can call after the is closed. Although the RecordsAffected property may be accessed while the exists, always call Close before returning the value of RecordsAffected to guarantee an accurate return value.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.