There is already an open DataReader associated with this Connection which must be closed first
- From: "Viswanathan S" <visu@xxxxxxxxxxxx>
- Date: Mon, 27 Jun 2005 16:47:15 +0530
Hi All,
I often get the same error when filling data adapter. There is already an
open DataReader associated with this Connection which must be closed first
myda.Fill(newds, "Employee")
But the same type fill command is working in other forms without error.
When filling data adapter it internally opens the executereader but it is
not closing.
How the OledbDataAdapter with fill works? When will it executes the reader.
Why there is a difference in filling with datasets?
Thanks in Advance
______________________________
S. Viswanathan
.
- Follow-Ups:
- Re: There is already an open DataReader associated with this Connection which must be closed first
- From: William \(Bill\) Vaughn
- Re: There is already an open DataReader associated with this Connection which must be closed first
- Prev by Date: Re: ADO Data Control Error Message "Unexpected end of statement"
- Next by Date: Re: There is already an open DataReader associated with this Connection which must be closed first
- Previous by thread: 80040154|Class_not_registered
- Next by thread: Re: There is already an open DataReader associated with this Connection which must be closed first
- Index(es):