Hello,
I have web controls which pull information off a database. These controls
pull things like Events, and so on. Each one of these controls use different
business objects which create the connection and do all the information
quering, however they each create their own connection.
If I have multiple controls on one page it would end up in creating multiple
connections to the SQL Server DB, is it going to have a severe impact?
should I make it so that all the controls use only one Connection per page?
Thanks
--
Abdellah Elamiri
..net Developer
Efficacy through simplicity 3 947
A. Elamiri wrote: Hello,
I have web controls which pull information off a database. These controls pull things like Events, and so on. Each one of these controls use different business objects which create the connection and do all the information quering, however they each create their own connection.
If I have multiple controls on one page it would end up in creating multiple connections to the SQL Server DB, is it going to have a severe impact? should I make it so that all the controls use only one Connection per page?
Thanks
IIS uses connection pooling, which takes care of this problem. The
connections between IIS and SQL Server aren't really closed, but .NET
will show them as so. If a new connection is made, one of the closed
connections is retrieved from the pool.
Abdellah,
Do a google search on: SQL Server Connection Pooling.
As long as your connection string for each connection is identical then Sql
Server 2000 will automatically pool connections for you.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"A. Elamiri" <abdellahDOTelamiriATclintonDOTedutNOSPAM> wrote in message
news:uK*************@tk2msftngp13.phx.gbl... Hello,
I have web controls which pull information off a database. These controls pull things like Events, and so on. Each one of these controls use
different business objects which create the connection and do all the information quering, however they each create their own connection.
If I have multiple controls on one page it would end up in creating
multiple connections to the SQL Server DB, is it going to have a severe impact? should I make it so that all the controls use only one Connection per
page? Thanks
-- Abdellah Elamiri .net Developer Efficacy through simplicity
Alright thanks guys
--
Abdellah Elamiri
..net Developer
Efficacy through simplicity
"S. Justin Gengo" <sjgengo@aboutfortunate[no-spam].com> wrote in message
news:10*************@corp.supernews.com... Abdellah,
Do a google search on: SQL Server Connection Pooling.
As long as your connection string for each connection is identical then
Sql Server 2000 will automatically pool connections for you.
-- Sincerely,
S. Justin Gengo, MCP Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order." Nietzsche "A. Elamiri" <abdellahDOTelamiriATclintonDOTedutNOSPAM> wrote in message news:uK*************@tk2msftngp13.phx.gbl... Hello,
I have web controls which pull information off a database. These
controls pull things like Events, and so on. Each one of these controls use different business objects which create the connection and do all the information quering, however they each create their own connection.
If I have multiple controls on one page it would end up in creating multiple connections to the SQL Server DB, is it going to have a severe impact? should I make it so that all the controls use only one Connection per page? Thanks
-- Abdellah Elamiri .net Developer Efficacy through simplicity
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Vik |
last post by:
I use the same dataadapters and datasets on a few aspx pages. Currently I
create these data controls on each page. Is it possible to create these
controls only once and then use them on the...
|
by: |
last post by:
I've defined an ObjectDataSource against a dataset, and I can bind the
ObjectDataSource's members to data controls.
I'm wondering how to take the values in an ObjectDataSource and...
|
by: yma |
last post by:
Hello,
I tried to display a column in MS Access 2000 nwind.mdb using 3 data
controls. But I got "It is
already opened exclusively by another user, or you need permission to view
its data." I...
|
by: clintonG |
last post by:
The Website Administration Tool -- POS that it is -- and the
CreateUserWizard -- and presumably other controls -- do not record data to
the database using system time. They record data using...
|
by: Hawk |
last post by:
Hello,
this is my first post hope to get some good answers. I am using asp.net 2.0
and I am trying to pass the value entered in the formview textbox in insert
mode "in this case it is the...
|
by: Mehdi |
last post by:
I have implemented custom data entity objects, so I like to bind my
entities to web server data controls, so I want to know what extra code
I should implement to to do that?
|
by: =?Utf-8?B?RGFu?= |
last post by:
I am relatively new to ASP.NET 2.0. I did not program in 1.1.
It seems as though the new Data Controls (drag and drop in Visual Studio)
have been a big imrovement, from what I've read.
In many...
|
by: Mirnes |
last post by:
Hello!
How can I show data outside of data controls (gridview, listview
etc.). I want to build CSS menu with data from database table and that
is the reason why I need it outside of any data...
|
by: BobLewiston |
last post by:
Also, can anybody recommend good online courses for SQL and/or data controls? (I guess I should master the regular data controls before going on to Silverlight, right?)
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |