Re: ADO.NET and Dispose
Ian Griffiths <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.general |
|---|---|
| Message-ID | <072501c2137e$98b15240$661ba8c0@imola> |
"Kevin E. Kenny" <[email protected]> wrote: > Where there is a Close() it will invariably call Dispose(). For SqlConnection that's not quite true. Close() doesn't call Dispose(). But Dispose() does call Close(). Dispose() also clears the connection string. -- Ian Griffiths DevelopMentor You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.