Re: Dispose Again!
I'm not so sure about that Cor. I have read many articles and seen many
posts that suggest that the DataAdapter, DataReader and Connection objects
SHOULD be disposed.
"Cor Ligthert" <notmyfirstname @planet.nl> wrote in message
news:%232kI3OKL FHA.904@tk2msft ngp13.phx.gbl.. .[color=blue]
> Dennis,
>
> There is no need to dispose any object of system.data.
>
> I have written a while that the exception on this is the connection, that
> is used for the connection pooling what was consequently told by Angel in
> the AdoNet newsgroup and that was done something with the fysical
> connection string (not the code) in a kind of overriden function from
> dispose.
>
> Because this message below in that newsgroup (it is not the first) I
> become confused again however keep that dispose for the connection string.
> The other objects does not need a dispose. There the dispose is only
> because the method is inherited from components from which all system.data
> classes inherits.
>
> http://groups-beta.google.com/group/...11c0671640ad38
>
> I hope this give some idea's
>
> Cor
>[/color]
I'm not so sure about that Cor. I have read many articles and seen many
posts that suggest that the DataAdapter, DataReader and Connection objects
SHOULD be disposed.
"Cor Ligthert" <notmyfirstname @planet.nl> wrote in message
news:%232kI3OKL FHA.904@tk2msft ngp13.phx.gbl.. .[color=blue]
> Dennis,
>
> There is no need to dispose any object of system.data.
>
> I have written a while that the exception on this is the connection, that
> is used for the connection pooling what was consequently told by Angel in
> the AdoNet newsgroup and that was done something with the fysical
> connection string (not the code) in a kind of overriden function from
> dispose.
>
> Because this message below in that newsgroup (it is not the first) I
> become confused again however keep that dispose for the connection string.
> The other objects does not need a dispose. There the dispose is only
> because the method is inherited from components from which all system.data
> classes inherits.
>
> http://groups-beta.google.com/group/...11c0671640ad38
>
> I hope this give some idea's
>
> Cor
>[/color]
Comment