Re: making datareaders
- From: "aaron.kempf@xxxxxxxxx" <aaron.kempf@xxxxxxxxx>
- Date: 2 May 2006 15:22:54 -0700
ok i am looking through the factory methods; i've been looking into
that for a while now
but i just swear; it is something much much simpler
I rewrote it so that i dont have to deal with the 'getDataReader'
procedure
but still i get the same error:
----------------------------------
There is already an open DataReader associated with this command which
must be closed first.
----------------------------------
This is my first ADO.net conversion and i'm just kinda banging my head
against a wall.
MARS-- multiple active result sets.From what i understand; this is like a 2003 bug and it's fixed by
Right??
I know that the connection works; i've tested it with commands and it
works like a charm.
Dim cmd As System.Data.SqlClient.SqlCommand = cnnX.CreateCommand()
cmd.CommandText = "EXEC spRootFoldersToCatalog"
Dim DR As System.Data.SqlClient.SqlDataReader = cmd.ExecuteReader
While DR.Read
RootFolder = DR.GetValue(1).ToString
rootFolderID = CInt(DR.GetValue(0).ToString)
Call RootFolder_Catalog(RootFolder, rootFolderID)
End While
.
- Follow-Ups:
- Re: making datareaders
- From: Chris Dunaway
- Re: making datareaders
- References:
- making datareaders
- From: dbahooker
- Re: making datareaders
- From: Chris Dunaway
- Re: making datareaders
- From: aaron.kempf@xxxxxxxxx
- Re: making datareaders
- From: Chris Dunaway
- making datareaders
- Prev by Date: Re: Help trimming off filename from path
- Next by Date: Phone recording device
- Previous by thread: Re: making datareaders
- Next by thread: Re: making datareaders
- Index(es):