How to you declare connection strings and how to you make
use of web.config ?
Answer Posted / ansu kumar
in
web.config file
<appsetting>
<add key="constr" value="data source=database name;
database=database name"/>
</appsetting>
and
in .aspx file
string str=configurationsetting.appsetting.constr;
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is disconnected scenario in entity framework?
What is ado control?
What are dataproviders?
What are the methods of XML dataset object?
Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?
Explain the overview of ado.net architecture?
What is the current version of entity framework?
What is a data control clerk?
Some important instruction regarding ADO.NET connection string ?
What is sql command in ado net?
Which is the feature of ado.net?
What is the use of SqlCommandBuilder?
Define atomicity?
What is ado.net in mvc?
Explain ODP.net