What does connection string consists of ?

Answer Posted / hardit singh

sqlconnection con=new sqlconnection
("server=localhost;database=testdb;uid=sa;pwd=sa;");

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ado data control?

521


Is datareader faster than datatable?

533


How to pass multiple tables in datasets simultaneously?

569


What is sql command in ado net?

497


List the 4 common ado.net namespaces?

697






What is ado object model?

513


What is the full form of ado.net?

508


What is the namespaces being used to access oracle database?

515


What is the difference between Datareader and Dataset?

537


How to read data with the sqldatareader ?

531


What does executequery return?

514


Explain the difference between ado and ado.net?

505


What are the different execute methods of Ado.Net?

553


What is the difference between ado.net and oledb?

479


If we are not returning any records from the database, which method is to be used?

755