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

Which is faster entity framework or ado.net?

499


Does executenonquery return a value?

538


What are the types of databinding?

553


What is bubbled event?

535


What is aggregate root?

494






What is ado.net architecture?

492


What two types of data providers does ADO.NET supply? What determines which one you should use?

531


What is difference between datatable and dataset?

526


How can I retrieve two tables of data at a time by using data reader?

511


What are the parameters that control most of connection pooling behaviours?

574


What is ole2 format?

502


What are the advantages and disadvantages of using datalist?

527


Name which operations can you not perform on an ado.net dataset?

484


What is shadow copy?

576


What is the difference between SqlCommand and SqlCommandBuilder?

582