Saturday, February 11, 2012

(ts Urgent) Connect to different databases

Hi

I have my database on four different database servers. I have a web appliction using asp.net 2.0. i want to add data to all four database servers. How can i do that with asp.net 2.0

Thanks in advance

Take care

Bye

In you web.config you can add all the connectionStrings to the section connectionStrings.

Then in your code, you can retrieve the relevant connectionString based on some condition to connect to the required database.

|||

Hi

I really appreciate your response

Thanks for your reply

Take care

Bye

No comments:

Post a Comment