Re: making datareaders
A DataReader requires a constant connection to the database and only
one DataReader can be open on a connection at once. If the Sql query
returns more than one result set, you can advance to the next one by
calling the DataReader.NextResult method.
.
Relevant Pages
- Re: Memory leak in ASP.NET web site
... > I have a web app that makes many queries to the database on every page. ... > string to a method and I am passed a datareader or else individual values ... > There is a horrible memory leak in this application. ... > restored until SQL Server and IIS services are restarted. ... (microsoft.public.dotnet.framework.aspnet) - Re: Memory leak in ASP.NET web site
... > I have a web app that makes many queries to the database on every page. ... > string to a method and I am passed a datareader or else individual values ... > There is a horrible memory leak in this application. ... > restored until SQL Server and IIS services are restarted. ... (microsoft.public.dotnet.framework.adonet) - Re: Memory leak in ASP.NET web site
... > I have a web app that makes many queries to the database on every page. ... > string to a method and I am passed a datareader or else individual values ... > There is a horrible memory leak in this application. ... > restored until SQL Server and IIS services are restarted. ... (microsoft.public.dotnet.framework.aspnet) - Re: Memory leak in ASP.NET web site
... > I have a web app that makes many queries to the database on every page. ... > string to a method and I am passed a datareader or else individual values ... > There is a horrible memory leak in this application. ... > restored until SQL Server and IIS services are restarted. ... (microsoft.public.dotnet.framework.adonet) - Re: DataView vs DataReader
... Public Class getPerson ... ' Connect to database, ... Also, all the datareader objects, connection objects are ... Public Function GetPersonDetailsas DataView ... (microsoft.public.dotnet.framework.aspnet) |
|