-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Prasanna_kakanoor
Message 2 in Discussion

If we declare same variable name with 3 times, it will raise the following error
        A local variable named 'conn' is already defined in this scope.

If you use different variable name it will create 3 connections in the pool but once 
again it depends on the connection pool size.


 Prasanna K L
 Sr. Software Engineer
[MCAD(CM) | MCSD.NET(Early Achiever)]

 ZapApp India Private Limited

  Level G & 1, Explorer Building, 
  International TechPark, Whitefield Road, 
  Bangalore - 560 066. INDIA
  91-80- 5115 6050 extn. 4084 (phone)
  91-80- 841 1858 (fax)
  [EMAIL PROTECTED]

-----Original Message-----
From: bignbullish [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 25, 2003 12:05 PM
To: <"BDOTNET"
Subject: How many connection pools are created?



New Message on BDOTNET


How many connection pools are created?
Reply

�
Reply to Sender ��Recommend 
Message 1 in Discussion 

From: bignbullish 

hi,
���a small question .... for the code below,
�
SqlConnection conn = new SqlConnection();
conn.ConnectionString = "Integrated Security=SSPI;Initial Catalog=northwind";
conn.Open();����� 

SqlConnection conn = new SqlConnection();
conn.ConnectionString = "Integrated Security=SSPI;Initial Catalog=pubs";
conn.Open();����� 
SqlConnection conn = new SqlConnection();
conn.ConnectionString = "Integrated Security=SSPI;Initial Catalog=mydb;Initial 
Catalog=northwind";
conn.Open();����� 
�
How many connection pools are created???
�
�
-Raghu (bignbullish)


View other groups in this category. 


Also on MSN:
Start Chatting�|�Listen to Music�|�House & Home�|�Try Online Dating�|�Daily Horoscopes 

Passport Member Services. 
For other questions or feedback, go to our Contact Us page. 

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list. 
Remove my e-mail address from BDOTNET. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to