What are the different namespaces used in the project to
connect the database?

Answer Posted / rahul singhal

in vb.net for sql server
imports system.data
imports system.data.oledb
imports system.data.sqlclient

in c# for sql server
using system.data
using system.data.oledb
using system.data.sqlclient

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 the difference between typed and untyped dataset?

506


What are the advantages and drawbacks of using ado.net?

621


What is ado asp?

513


Explain how to copy the contents from one table to another table and how to delete the source table in ado.net?

453


What are all the classes that are available in System.Data Namespace?

552






Where is adodb dll located?

525


Explain executenonquery?

549


What is ado or jdbc?

515


What is DataReader Object?

595


Explain what is datagrid with an example?

585


What are the namespaces used in ado.net for data access?

479


What is difference between entity framework and ado.net?

479


Which object holds only data and does not interact with data source?

496


Does entity framework use ado.net?

501


Explain the different row versions available in table?

548