S
Steve Murphy
I'm working on an application where I use a single connection repeatedly to load
records into a detail area, opening and closing the connection for each use. I
do not use a VS connection control for this, I use my own code.
So when the associated form is closed, where is the best place to finally
dispose of that connection? I'm assuming that in the VS-generated override to
Dispose would be the proper place, but I am hestitant to modify that method,
since it is generated by VS.
Thanks in advance,
Steve Murphy
records into a detail area, opening and closing the connection for each use. I
do not use a VS connection control for this, I use my own code.
So when the associated form is closed, where is the best place to finally
dispose of that connection? I'm assuming that in the VS-generated override to
Dispose would be the proper place, but I am hestitant to modify that method,
since it is generated by VS.
Thanks in advance,
Steve Murphy