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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you display all validation messages in one control?

562


How to comment out asp.net tags?

642


Which property is used to identify the Page is Post Back in ASP.NET?

570


For which does this Codebehind="MyCode.aspx.cs" is relevent to ?

589


How does session id work?

504






What is the server of asp.net?

520


What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?

517


What is the application pool?

561


Explain client-side scripting?

579


What are strong names?

598


What is custom events? How to create it?

637


Write the different features of a Thread and a Process?

632


Give a few examples of page life cycle events.

681


Can I combine classic asp and asp.net pages?

543


What are the different types of sessions in asp.net? Name them?

690