Difference between <connectionstring> and <appsettings>

Answer Posted / sampath

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is MVVM design pattern?

599


How do I install .net framework?

526


Explain linq to entities? : Entity framework

542


explain what does .edmx file contains?

633


What is object service? : Entity framework

628






What is entity client data provider? : Entity framework

543


Can any particular component of .net framework 3.0 be removed?

518


Explain .Net Framework? Why we use it?

609


Why to use Html.Partial in ASP.Net MVC?

600


How to Redirect Tracing to a File

589


What is the difference between adding routes, to a webforms application and to an mvc application?

545


What is orm entity framework?

518


What are Code Blocks in Views?

662


What are the new features 3.5 framework against with the tool?

538


What is a model in programming?

551