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 |
Which control of the BindingNavigator returns the current position within the data source?
What are the steps in connecting to database ?
How to check if a datareader is closed or opened?
Advantage of ADO.Net?
When we are running the Application, if any errors occur in the Stored Procedure then how will the server identify the errors?
How to fetch the last inserted record in a particular table?
10 Answers CarrizalSoft Technologies, Microsoft,
What are all the commands used with Data Adapter?
Which object is used to add relationship between two Datatables?
Where do you store connection string ?
Explain which name space is used to get assembly details?
What is ado.net full form?
How can you add or remove rows from the datatable object of dataset?
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)