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...


where should write the connection string Show that it will
apply whole pages in the website

Answers were Sorted based on User's Feedback



where should write the connection string Show that it will apply whole pages in the website..

Answer / krushitha

you need to write the connection string in web.config.

Is This Answer Correct ?    4 Yes 0 No

where should write the connection string Show that it will apply whole pages in the website..

Answer / lakshmi

connection string saved in the web.config file:

<connectionstrings>
<add name="Appconnectionstring1"
connectionstring="server=localhost;User Id=sa;Password=
password;Database=Northwind; persist security info ="True"
providerName="system.data.sqlclient"/>
</connectionstrings>

Is This Answer Correct ?    3 Yes 0 No

where should write the connection string Show that it will apply whole pages in the website..

Answer / krushitha

It is a central repository from where you can retrieve it
and use it in all the pages. For example if you store the
connection string in a central place like a web.config file
you can retrieve those connection strings from the
web.config file and use it

Is This Answer Correct ?    2 Yes 0 No

where should write the connection string Show that it will apply whole pages in the website..

Answer / navin.cp

You can also pass a connection string in web.config file as:-

<appSettings>
<add key="ConStrName" value="your_ConStrValue"/>
</appSettings>

Is This Answer Correct ?    1 Yes 0 No

where should write the connection string Show that it will apply whole pages in the website..

Answer / payal

Config file we can write that is web.config and
machine.config

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

What are different methods of session maintenance in asp.net?

0 Answers  


How to write test case (Unit test plan)

1 Answers   Syntel,


What is the namespace for encryption?

3 Answers   Astadia, CIA, Wipro,


What is the appSettings Section in the web.config file?

0 Answers   MindCracker,


From the given paragraph of text, write a program to match the strings of format “Any number of numerals followed by an underscore followed by any number of alphabets" ex:123_abc (Note:using regular expressions)

4 Answers   Microsoft,


What is the difference between the response.write() and response.output.write() methods?

0 Answers  


What’s difference between “optimistic” and “pessimistic” locking?

0 Answers  


Define common type system?

0 Answers  


How do I send an email message from my ASP.NET page?

0 Answers  


Why asp.net mvc is better than asp.net? : Asp.Net MVC

0 Answers  


Name two properties common in every validation control?

9 Answers   Siebel Systems,


What is round trip in asp.net?

0 Answers  


Categories