G
Gary van der Merwe
Hi
How do I tell if a SqlConnection has a open datareader. If I try to do a new
ExecuteReader, a exception gets thrown if there is a open reader. I want to
be able to tell if there is an open datareader before I do the
executeReader.
If I break and do a watch on the SqlConnection , there is a private field
(_reader) witch is !=null when there is an open reader. Only problem is that
it is private.
Gary
How do I tell if a SqlConnection has a open datareader. If I try to do a new
ExecuteReader, a exception gets thrown if there is a open reader. I want to
be able to tell if there is an open datareader before I do the
executeReader.
If I break and do a watch on the SqlConnection , there is a private field
(_reader) witch is !=null when there is an open reader. Only problem is that
it is private.
Gary