Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


The main issue is suppose i have two databases and when
user wants data for last 10 years data,it has to connect to
one database and if user wants data for the past 1 year,it
has to connect to the other database.like that .can i
create two data sources in one properties file.is it
possilbe.if so provide me the explaination.Thanks in
advance.



The main issue is suppose i have two databases and when user wants data for last 10 years data,it ..

Answer / vamshi krishna

from .net technology point of view, u can use multipls
connectionstrings to connect to the database.you can define
that in web.config file under appSettings as follows....

<connectionStrings>
<clear/>
<!--Report Data base Connection String -->
<add name="ReportingConnection"
connectionString="Server=192.168.1.13;Database=Pegasus;UID=p
egasus;PWD=pegasus;Pooling=true;Max Pool
Size=300;Connection Timeout=60"/>
<!-- Data base Connection String to the
pegasus admin database -->
<add name="PegasusAdminConnection"
connectionString="Server=192.168.1.13;Database=Pegasus;UID=p
egasus;PWD=pegasus;Pooling=true;Max Pool
Size=300;Connection Timeout=60"/>
<!-- Data base Connection String to the
pegasus course database (admin database course database
role. so, same as admin db conn string)-->
<add name="PegasusDBConnection1"
connectionString="Server=192.168.1.13;Database=Pegasus;UID=p
egasus;PWD=pegasus;Pooling=true;Max Pool
Size=300;Connection Timeout=60"/>
<!-- Data base Connection String to the
pegasus course 1 database -->
<add name="PegasusDBConnection2"
connectionString="Server=192.168.1.13;Database=Pegasus;UID=p
egasus;PWD=pegasus;Pooling=true;Max Pool
Size=300;Connection Timeout=60"/>
<!-- Data base Connection String to the
pegasus course 2 database -->
<add name="PegasusDBConnection3"
connectionString="Server=192.168.1.13;Database=Pegasus;UID=p
egasus;PWD=pegasus;Pooling=true;Max Pool
Size=300;Connection Timeout=60"/>
</connectionStrings>

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Architecture Design AllOther Interview Questions

do we need to put gravel stone of size 2 inch before laying pcc

1 Answers  


In a small scale residential building 13M rod cut by column post. that rod divided by 2 nos or 3nos which is best?

1 Answers  


does we count column area in carpet area?

1 Answers  


what is advantages and disadv.of e-banking.

0 Answers  


the desirable depth of a wardrobe fore hanging cloths

1 Answers   NATA,


i am looking for Final year Architecture Designer or any home based project worker in chennai. contact 9500092822

1 Answers  


Name your favorite architects and what do you admire about their work?

0 Answers  


what was the most complex thing you worked on?

1 Answers  


Who is responsible for territory? can you please help me in getting the answer for this

0 Answers  


what are the different types of dimensions

2 Answers  


what type of mapping is most used in maya production house?

0 Answers  


I am building a house in Iowa by the strict requirements and dimensionality of Sthapatya-ved. As you probably know, these dimensions are specific to certain harmonic structures generated by the architectural style and my astologic chart. The outer walls will be approximately 10.5 inches thick. I would like to use some sort of straw/clay mixture, but I also live in a very cold climate. It is not unusual to have -10 degree temperatures for several weeks on end. I have friends who built with rammed earth and their environment is miserable during winter, always fighting the fly-wheeling of energy in the earth structure. Can you shed any light on the true insulation value of a straw clay mixture in this climate.

1 Answers  


Categories
  • Interior Design Interview Questions Interior Design (21)
  • Architecture Design AllOther Interview Questions Architecture Design AllOther (186)