Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have a two project with one main folder.i want to acess one projcect with particular database and second for another database.
ex:-www.main/dpl
i will acess dpl index page and
www.main/lm
i will acess lm index page

how it is possible by c# asp.net
and how i will check this index page for dpl or lm
Posted

Hi ,
Create two access layers each one for project and each one have it's connection string like that you separated between both project .
Best Regards
M.Mitwalli
 
Share this answer
 
The Enterprise Library[^] can help you out.
 
Share this answer
 
Hi @Pradhan

You can use the diffrent connection string for the diffrent project
or uou can place the connection string in the database for the specified project and retrive it and use.

Hope it will help you

Thanks
 
Share this answer
 
Comments
Pradhan Gagan 4-Apr-12 2:28am    
greate dear i put and got it right

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900