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
Define web.config in .net?
how to include timer or counting time to display next page in asp.net
When cookie will expire?
Can master pages be nested?
What is cached data phone?
What are the disadvantages of asp.net?
What is the difference between asp.net and mvc?
Can I combine classic asp and asp.net pages?
In which situation can you not use a viewstate?
Write some code using interfaces, virtual methods, and an abstract class`
What is the difference between login controls and forms authentication?
How does viewstate work?
When you use Ajax controls in the ASP.NET application?
What are validator? Name the validation controls in asp.net?
How ASP.NET page works?