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 |
How to generate a single aggregate?
What is ambient transaction?
Diff B/W DataSet vs DataTable
What are the Features of a dataset
Sequence to connect and retrieve data from database useig dataset ?
Why is it important to close an ado.net application?
What is data adapter in ado.net with example?
How do we invoke queries from the application
What are all the commands used with Data Adapter?
What is the meaning of object pooling?
What is the advantage of ado.net?
What is dbcontext and dbset in entity framework?
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)