Where do you store connection string ?

Answers were Sorted based on User's Feedback



Where do you store connection string ?..

Answer / ansu kumar

we
store
connection string in
web.config file under tab
<appsettings>

Is This Answer Correct ?    15 Yes 3 No

Where do you store connection string ?..

Answer / s.balakrishna

we store connection string under web.config file

Is This Answer Correct ?    2 Yes 0 No

Where do you store connection string ?..

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

Post New Answer

More ADO.NET Interview Questions

Can I use One Data Set for More than one Data Adapter?

6 Answers  


Difference between OLEDB Provider and SqlClient ?

2 Answers  


What is the return type of executescalar?

0 Answers  


What is the use of parameter object?

4 Answers   CDC, Ksb,


FetCh Records No 5 to 10 From Dataset

4 Answers  






What is ole db and odbc?

0 Answers  


What is the full form of ado.net?

0 Answers  


How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

0 Answers   CGI,


Explain how to bind the controls(best practice) comboboxes to the data in the dataset?

0 Answers  


When we are running the Application, if any errors occur in the Stored Procedure then how will the server identify the errors?

5 Answers   HCL,


What is the use of sqldatareader class?

0 Answers  


What are the advantage of ado.net?

0 Answers  


Categories