PC Review


Reply
Thread Tools Rate Thread

Connect to anothe database

 
 
=?Utf-8?B?SHVzYW0=?=
Guest
Posts: n/a
 
      30th May 2007
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
 
Reply With Quote
 
 
 
 
Jon Paal [MSMD]
Guest
Posts: n/a
 
      30th May 2007
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" <(E-Mail Removed)> wrote in message news:220C0580-9D10-4FBD-9905-(E-Mail Removed)...
> 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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect To SQL Database =?Utf-8?B?S2FyaW4=?= Microsoft Access 2 21st Nov 2007 06:30 PM
Connect to anothe database =?Utf-8?B?SHVzYW0=?= Microsoft ADO .NET 1 30th May 2007 06:19 PM
2.0: cannot connect to database after using Database Explorer in VS RAM Microsoft Dot NET 0 9th Oct 2006 06:15 AM
cannot connect to .mdf database midavis Microsoft Excel Programming 1 23rd Sep 2005 01:08 PM
can't connect to database Sam Raslo Windows XP Embedded 6 6th Sep 2003 01:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:56 AM.