codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  how 2 obtain constant db connection in ASP.NET for many pages?  Archive Import (rafi newman) at 05:48 on Sunday, July 20, 2003
 

hi,

i am an experienced developer but new to .Net
in all ADO source code samples i saw, I found a new creation and connection to the DB and at the end disconnection.
i would like to connect to the DB only once on ASP.NET application start and disconnect only once at ASP.NET application end.
how do i do it ?
how to keep a "global variable" with the connection ?
how do i use this connection within my asp pages ?

and finally , how to to it with a pool of connections ?

thanks

rafi



  Re: how 2 obtain constant db connection in ASP.NET for many pages?  Elain at 07:56 on Tuesday, November 16, 2010
 

I'm sorry i can't reply your question, but i will ask my teacher for it and tell you the qnswer as soon as possible!
--------------------------------------
flash menu|drop down menu|flash decompiler mac








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: hi
•  Re: Questions about Bill Gates
•  Re: How to convert a big XML to HTML using XSL?
•  Re: Assign a html table element to a variable
•  Re: Form Field Validation
•  Re: Form Email script
•  Re: File Formats
•  Re: Cannot Input data to Database Access
•  Re: Help me


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2010