ALLInterview.com :: Home Page            
 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                      
Google
   
 
Categories >> Software >> Microsoft Related >> Dot Net >> Dot Net Framework
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions (204)
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions (75)
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions (83)
 Dot Net General interview questions  Dot Net General Interview Questions (321)
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions (178)
Question
Difference between <connectionstring> and <appsettings>
 Question Submitted By :: Dot-Net-Framework
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
u can declare ur database connection in connection string
and u can declare all ur application settings in appsettings
like ur service url etc
 
Is This Answer Correct ?    17 Yes 8 No
Bharathi
 
Answer
# 2
Application Setting is mostly use when we want to perform
more then one work just like this setting with the reporting
tools , make new connection for the user control etc.
but if we want to make only connection with the database and
we don't any other work so we use the connection string .
appsetting is working with the group type.
 
Is This Answer Correct ?    0 Yes 0 No
Rituraj Pandey
 
 
 
Answer
# 3
if u do a project in.net you have many webforms.each form
should connect with database.so u have to write
connectionstrings in each form.u can avoid these things.u
can declare connection strings in global wise.then it will
inherit in each form
 
Is This Answer Correct ?    7 Yes 16 No
Sampath
 
Answer
# 4
<appsettings> is used before connection string
we use it to set the applicstion setting so that program
run successfully,but
<connectionstring> is used to make the or establish the
connection.
 
Is This Answer Correct ?    3 Yes 15 No
Guest
 

 
 
 
Other Dot Net Framework Interview Questions
 
  Question Asked @ Answers
 
what are background threads? give ex? Kanbay 3
what is a mvc in asp.net? HCL 3
what is view state Wipro 3
How would you make a combo-box appear in one column of a DataGrid?   1
What are the properties of Thread class?   1
what are generics? Without generics what are the disadvantages in 1.1? HP 3
How to bind table coloum with gridview column   3
How to create an alias name for a namespace? IBM 4
How will you load dynamic assembly? How will create assemblies at run time? MGL 3
Microsoft introduced c# as a de facto language of the .NET platform. What is mean by de facto and fot what purpose? Please answer me. Advance thanks. Excel 3
What is boxing and unboxing? Kanbay 4
What is the difference b/w constant & read only variable? IMI-Soft-Engineering 4
 
For more Dot Net Framework Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com