This documentation is archived and is not being maintained.
IDataReader.Close Method
.NET Framework 1.1
Closes the IDataReader 0bject.
[Visual Basic] Sub Close() [C#] void Close(); [C++] void Close(); [JScript] function Close();
Remarks
You must explicitly call the Close method when you are through using the IDataReader to use the associated IDbConnection for any other purpose.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
See Also
IDataReader Interface | IDataReader Members | System.Data Namespace
Show: