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 is Assemble Microsoft 4
what is namespace? TCS 9
What is .net framwork? what is web application? what is CLR? How does work CLR & wht is work of CLR? What is compile? wht is thread? what does use in .net? NIIT 4
What is serialization ? MMTS 5
VIEWS WITH SYNTAX AND EXAMPLE IN SQL   1
what are generics? Without generics what are the disadvantages in 1.1? HP 3
I have a GridView on web form, and a column in a grid is a linkbutton to open popup..., my problem is when i click on link button in a gridview popup opens as well works fine. but when i click on link button once again my popup window doesnt open. Can any one help please...   2
What is the difference b/w constant & read only variable? IMI-Soft-Engineering 4
What is Partial Assembly References? Microsoft 2
What are the contents of assembly?   2
What is JIT and how is works ?   10
exe abrevatiom IBM 5
 
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