JP wrote:
> The prob is if the parant code attempts to read from myReader, it says it
> cant b/c the datareader is closed. Yet at this point the fact that the
> connection created in the child class was disposed shouldnt affect a
> datareader thats already loaded. The connection was local to the child
> class, why should the parent datareader care? Whats the problem? If I
> remove the dispose method, everything works, but I run the risk of running
> out of connections in the SQL pool b/c the code is called many times.
You should serialize the data either to XML ( ExecuteXML ) or store the
contents to a DataSet.
--
http://www.you-read-it-here-first.com
....fueled by Texeme Textcasting...