By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,969 Members | 1,579 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,969 IT Pros & Developers. It's quick & easy.

Connect to anothe database

P: n/a
Hi EveryBody:

How can I connect to another database instaed of the default database
aspnetdb in the local SQL Server in the App_Data folder that exist in my web
site application ?

My database that I want to connect is in my local Machine and its name=Husam.

Any Help or redirection will be completely appreciated

regard's

Husam
May 30 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
you can have multiple connection strings defined in your web.config file

use the alternate string when desired
http://www.odetocode.com/Articles/345.aspx

"Husam" <Hu***@discussions.microsoft.comwrote in message news:22**********************************@microsof t.com...
Hi EveryBody:

How can I connect to another database instaed of the default database
aspnetdb in the local SQL Server in the App_Data folder that exist in my web
site application ?

My database that I want to connect is in my local Machine and its name=Husam.

Any Help or redirection will be completely appreciated

regard's

Husam

May 30 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.