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

Answer Posted / navin.cp

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is role-based security in asp.net?

519


What is AutoPostback?

592


What is protected configuration?

599


Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?

535


What is the typical session identifier?

572






Which class is used to send an email message from an ASP.NET Web page?

538


How do cookies work? Give an example of their abuse.

543


Describe the Server Control Events of ASP.NET?

651


Where is asp.net view state stored?

510


Define a web service in .net?

613


What does ascx stand for?

504


Why asp.net is better than php?

489


What is the difference between CLICK and MOUSE DOWN Event ?

584


Explain the difference between or and orelse?

534


How asynchronous call can be implemented using delegates?

539