Click here to Skip to main content
16,009,144 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Clear Back menu in opera Pin
Any_India1-Mar-10 23:01
Any_India1-Mar-10 23:01 
GeneralRe: Clear Back menu in opera Pin
Rashmi_Karnam1-Mar-10 23:56
Rashmi_Karnam1-Mar-10 23:56 
Questionhref in asp:ListItem Pin
Jassim Rahma1-Mar-10 21:26
Jassim Rahma1-Mar-10 21:26 
AnswerRe: href in asp:ListItem Pin
Rhys Jacob1-Mar-10 23:11
Rhys Jacob1-Mar-10 23:11 
Questionhow to write connection string for two databases in asp.net with c# Pin
developerit1-Mar-10 20:19
developerit1-Mar-10 20:19 
AnswerRe: how to write connection string for two databases in asp.net with c# Pin
sashidhar1-Mar-10 20:41
sashidhar1-Mar-10 20:41 
Generalhow to write connection string for two databases in asp.net with c# Pin
developerit1-Mar-10 21:55
developerit1-Mar-10 21:55 
GeneralRe: how to write connection string for two databases in asp.net with c# Pin
sashidhar1-Mar-10 22:16
sashidhar1-Mar-10 22:16 
developerit wrote:
i want for two connection string,

What do u mean by tht..!
You need to add 2 connection strings in web.config file..!
<appSettings>	<add key="connectionString1" value="User Id=User ID;password=XXXX;Initial Catalog=company;Data Source=Name;Packet Size=4096"/>
	<add key="connectionString2" value="User Id=User ID;password=XXXX;Initial Catalog=employee;Data Source=Name;Packet Size=4096"/> </appSettings>


Then If u want to call thr code..!if u want to call first connection string specify the name in the value like ConnectionString1/Connectionstring2
ConfigurationSettings.AppSettings["ConnectionString1"];<br />
ConfigurationSettings.AppSettings["ConnectionString2"];

LatestArticle :Log4Net

Why Do Some People Forget To Mark as Answer .If It Helps.

AnswerRe: how to write connection string for two databases in asp.net with c# Pin
R. Giskard Reventlov1-Mar-10 21:29
R. Giskard Reventlov1-Mar-10 21:29 
Generalhow to write connection string for two databases in asp.net with c# Pin
developerit1-Mar-10 21:37
developerit1-Mar-10 21:37 
GeneralRe: how to write connection string for two databases in asp.net with c# Pin
R. Giskard Reventlov1-Mar-10 22:19
R. Giskard Reventlov1-Mar-10 22:19 
AnswerRe: how to write connection string for two databases in asp.net with c# Pin
ksss_maheshece1-Mar-10 21:47
ksss_maheshece1-Mar-10 21:47 
Questionhow to we write code for enterkey Pin
vbmadhavi1-Mar-10 20:19
vbmadhavi1-Mar-10 20:19 
AnswerRe: how to we write code for enterkey Pin
sashidhar1-Mar-10 20:33
sashidhar1-Mar-10 20:33 
GeneralRe: how to we write code for enterkey Pin
vbmadhavi1-Mar-10 21:55
vbmadhavi1-Mar-10 21:55 
GeneralRe: how to we write code for enterkey Pin
sashidhar1-Mar-10 21:58
sashidhar1-Mar-10 21:58 
AnswerRe: how to we write code for enterkey Pin
carlecomm2-Mar-10 18:03
carlecomm2-Mar-10 18:03 
GeneralRe: how to we write code for enterkey Pin
vbmadhavi2-Mar-10 18:14
vbmadhavi2-Mar-10 18:14 
Questionhow is WCF web service is different from ordinary web service Pin
Amit Spadez1-Mar-10 18:00
professionalAmit Spadez1-Mar-10 18:00 
AnswerRe: how is WCF web service is different from ordinary web service Pin
N a v a n e e t h1-Mar-10 19:58
N a v a n e e t h1-Mar-10 19:58 
GeneralRe: how is WCF web service is different from ordinary web service Pin
Amit Spadez1-Mar-10 20:00
professionalAmit Spadez1-Mar-10 20:00 
GeneralRe: how is WCF web service is different from ordinary web service Pin
N a v a n e e t h1-Mar-10 20:19
N a v a n e e t h1-Mar-10 20:19 
QuestionProblem with Client side validation in Accordion (AJAX toolkit) Control Pin
Faisal Khatri1-Mar-10 7:38
Faisal Khatri1-Mar-10 7:38 
AnswerRe: Problem with Client side validation in Accordion (AJAX toolkit) Control Pin
Abhijit Jana1-Mar-10 8:30
professionalAbhijit Jana1-Mar-10 8:30 
GeneralRe: Problem with Client side validation in Accordion (AJAX toolkit) Control Pin
Faisal Khatri1-Mar-10 10:55
Faisal Khatri1-Mar-10 10:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.