Where do you store connection string ?
Answers were Sorted based on User's Feedback
Answer / ansu kumar
we
store
connection string in
web.config file under tab
<appsettings>
| Is This Answer Correct ? | 15 Yes | 3 No |
Answer / s.balakrishna
we store connection string under web.config file
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / dheeraj
<ConnectionStrings>
add name=""
ConnectionString="datasource="servername";catalog="database
name";
<ConnectionStrings>
and that code is to written under web.config file.
| Is This Answer Correct ? | 2 Yes | 0 No |
Explain how to call the sql commands asynchronously in ado.net version 2.0?
What are the objects of ado.net?
What is the difference between statement and preparedstatement interface?
What is difference between datareader and dataadapter?
What is Serialization in .NET? what are the types of Serialization?
What is the DataTableCollection?
What is the default provider in ado.net?
What are the main differences between classic ado and ado.net?
Is ado.net an orm?
What is basic use of data view?
Some important instruction regarding ADO.NET connection string ?
What is the use of sqldatareader class?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)