where should write the connection string Show that it will
apply whole pages in the website
Answer Posted / lakshmi
connection string saved in the web.config file:
<connectionstrings>
<add name="Appconnectionstring1"
connectionstring="server=localhost;User Id=sa;Password=
password;Database=Northwind; persist security info ="True"
providerName="system.data.sqlclient"/>
</connectionstrings>
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to display Alert in ASP.NET
What are the types of caching in asp.net?
What is routing in MVC?
Which protocol is used to call web service?
Can you explain composite pattern?
What is app_code folder in asp net?
What are sessions and cookies?
What is the purpose of url encoding?
What is different in .net 1.1 and .net 2.0?
Which adapter should you use, if you want to get the data from an access database?
What are the navigation ways between pages available in ASP.NET?
What should you do is you want to remove an existing component but would like to make some funtionalities?
What is distributed system in asp.net?
Describe the difference between inline and code behind - which is best in?
What are server-side comments in ASP.NET?