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

How to add a check box or a dropdown list to a column in a datagrid?

0 Answers  


What is data relation?

0 Answers  


can we have multiple datatables in a datareader ?

18 Answers   Fulcrum Logic, Infosys, Kale Consultants, Ness Technologies,


What is ado.net objects?

0 Answers  


Define executenonquery?

0 Answers  






What is the hierarchy of data in databases?

0 Answers  


Explain the difference between data reader and data adapter?

0 Answers  


What are the three Ado objects?

6 Answers   Microsoft, StarSoft,


What?s the role of the DataReader class in ADO.NET connections?

7 Answers   Honeywell, Ksb,


Which object of ado contains datarow datacolumn collection?

0 Answers  


How would u connect to database using .NET?

5 Answers   TCS, Tesco,


How to add an aggregate column?

0 Answers  


Categories