I
Imaya kumar Jagannathan
HI,
When using a datareader, will the Connection remain until
the datareader is closed or the connection is made
everytime when the 'Read' method is called?
Sample code.
While dr.Read
' Manipulations
....
..
..
End While
dr.Close()
My friend says, here the connection is made each time when
the datareader is 'Read' since, ADO.NET is a disconnected
architecture.. is it so? or how does it really work?
Help me Please...
Thanks !!
Imaya Kumar Jagannathan.
When using a datareader, will the Connection remain until
the datareader is closed or the connection is made
everytime when the 'Read' method is called?
Sample code.
While dr.Read
' Manipulations
....
..
..
End While
dr.Close()
My friend says, here the connection is made each time when
the datareader is 'Read' since, ADO.NET is a disconnected
architecture.. is it so? or how does it really work?
Help me Please...
Thanks !!
Imaya Kumar Jagannathan.