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
Show: