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

What are the uses of Stored Procedure?

0 Answers  


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

0 Answers   CDC,


What is the use of connection object in ado.net?

0 Answers   TryTechnicals Pvt Ltd,


What are the benefits of using of ADO.NET in .NET 4.0?

0 Answers  


What are all the different methods under sqlcommand?

0 Answers  






Difference between datareader and dataset?

26 Answers   Microsoft, Noel Infotech, Satyam, Value Labs,


What does executereader return?

0 Answers  


What is command class in ado.net?

0 Answers  


can u tell me the why ADO does not support xml..

2 Answers   Crea,


how to add a selected row of a gridview to another gridview without reloading the page??

2 Answers  


What are the different row versions available in table?

0 Answers  


What is a datareader object?

0 Answers  


Categories