1.  set up a connection for each in your web.config as such
<appSettings>

<add key="cnnLIS" value="data source=servername;initial catalog=lis;persist
security info=False;user id=sa;password=serverpassword;workstation
id=servername;packet size=4096;" />

</appSettings>

2.  Next reference each connection in a string in your code such as:
 
Dim cnnLIS As SqlConnection = New
SqlConnection(ConfigurationSettings.AppSettings("cnnLIS"))

3.  Write your update statements and then reference your connections as
appropriate (cnnLIS, etc)

Hope this helps

 

-----Original Message-----
From: Parvez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 1:02 AM
To: [EMAIL PROTECTED]
Subject: [AspNetAnyQuestionIsOk] hi all


Hi All,

I am parvez khan, i'm developing a web application in which i've to use to
three connection from three different sql-server database. Actually i have
to update three database which is on three different servers on a button
click.
So please help me..

Thanks


[Non-text portions of this message have been removed]




  _____  

Yahoo! Groups Links


*       To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/> 
  

*       To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
e> 
  

*       Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 




[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to