ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
where should write the connection string Show that it will 
apply whole pages in the website
 Question Submitted By :: Muna123_2006
I also faced this Question!!     Rank Answer Posted By  
 
  Re: where should write the connection string Show that it will apply whole pages in the website
Answer
# 1
you need to write the connection string in web.config.
 
Is This Answer Correct ?    3 Yes 0 No
Krushitha
 
  Re: where should write the connection string Show that it will apply whole pages in the website
Answer
# 2
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 ?    1 Yes 0 No
Krushitha
 
 
 
  Re: where should write the connection string Show that it will apply whole pages in the website
Answer
# 3
Config file we can write that is web.config and 
machine.config
 
Is This Answer Correct ?    1 Yes 1 No
Payal
 
  Re: where should write the connection string Show that it will apply whole pages in the website
Answer
# 4
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
Lakshmi
 
  Re: where should write the connection string Show that it will apply whole pages in the website
Answer
# 5
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
Navin.cp
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
IS IT POSSIBLE TO SET TIME FOR COOKIES?HOW IT IS POSSIBLE.  1
What is the use of @Register directives?  1
In a page u have Web user controls . So what is the order in which the Page life Cycles takes place?  1
What is the difference between User Controls and Master Pages IntraLogic13
what is purpose of xml control in standard controls of asp.net  1
what is caching  3
2. Why did you choose this career? Swatz-Oils1
How to identify host of my system? How to identify servername of my system? How to identify domainname of my system?  2
Features of a dataset ? Accenture3
how to convert from sql2000 numeric to int in asp.net with sqlparameter?  1
what are the differences between windows services and web services? Tech-Mahindra3
how to increase performance of web site? if there is a page with high load. the content is high then what should we do to increase performance? TCS2
What are generics? why it is used? architecture of ASP.NET? Satyam4
What event fired during, when datagrid click?  1
I have around 200+ controls in a page. Each of the sets of controls are kept in divs and when header div is clicked, only those div controls pertaining to that header div will be displayed. Rest of the divs are kept invisible. When the page loads, all these 200+ controls are loaded simultaneously, that consumes much of the time. What my requirement is I want to get the div1 controls loaded when the page loads and rest of the div controls should be loaded asynchronously. it should not be loaded with page load, so that time for loading the page can be much minimised. Hope u understood my question and pls help me out with a solution asap....  1
web user and custom conrols  1
which scripting is used browser by server when we use validation controls. 1.javascript 2.vbscript 3.jscript 4.perl Satyam8
What are the various authentication mechanisms in ASP.NET ? Digital-GlobalSoft1
Differences between VB.Net and C#, related to OOPS concepts CSC5
What is boxing and how it is done internally? Microsoft1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com