Close Method
Collapse the table of content
Expand the table of content

IDataReader.Close Method ()


Closes the IDataReader Object.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

void Close()

You must explicitly call the Close method when you are through using the IDataReader to use the associated IDbConnection for any other purpose.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft