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

Answers were Sorted based on User's Feedback



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

Answer / shashikant kothavale

in my project as we used sql server as back end i have used
sqlclient namespace and system io namespace to read
values/data from non database file via comm separated values!

other data providrs are

oledb;
sqlclient;
oraclclient,
odbc etc

Is This Answer Correct ?    1 Yes 0 No

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

Answer / 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

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

Answer / ashokdahiya

system.data
system.data.oledb
system.data.sqlclient

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

Explain how do you connect to sql server database without using sqlclient?

0 Answers  


What is connected architecture in ado.net?

0 Answers  


What is data reader in ado.net?

0 Answers  


What is ado rdo dao in visual basic?

0 Answers  


Explain what is datagrid with an example?

0 Answers   C DAC, CDAC,






What are the difference between readonly vs. Const?

0 Answers  


What is a sqldataadapter?

0 Answers  


What is ado object model?

0 Answers  


What are datareaders?

0 Answers  


How can we add relation between tables in a dataset?

0 Answers  


What is DataRowCollection?

0 Answers  


What is the use of command objects?

2 Answers  


Categories