When would you not use the oleDbConnection object?
a) To connect to an SQL 7.0 database.
b) To connect to a DB/2 database.
c) To connect to an Access database.
d) To connect to an SQL 6.5 database.

Answers were Sorted based on User's Feedback



When would you not use the oleDbConnection object? a) To connect to an SQL 7.0 database. b) To con..

Answer / the jerk

I use OleDbConnection for SQL 6.5, and Access ALL THE TIME.
Also for SQL 2000 so SQL 7.0 must be OK, too. By process of
elimination, B must be the correct answer.

Is This Answer Correct ?    1 Yes 0 No

When would you not use the oleDbConnection object? a) To connect to an SQL 7.0 database. b) To con..

Answer / bhushan

Guyz...The question is "When would you....?". IMO, we can
connect to any database using oleDbConnection. However, the
question dwells on the fact that when would we not use it.
The fact that MS Access is a desktop database, leaves us no
option but to use oleDbConnection. Also, there must be some
way to connect to DB/2 database. The only 2 choices are to
use ODBC and OLEDB. So that has to be used with DB/2 as
well. However, with SQL server databases we have plenty of
support by the way of Sqlconnection and associated data
objects. These objects make it easier to work with SQL
databases easier than to use raw oleDbconnection. So the
obvious choice would amongst these 2. Yet going further, we
would refine our answer and state that support for SQL 7.0
has improved over SQL 6.5 and hence it has all the more
reason so as not to use OLEDBConnection. So IMO, the answer
should be SQL 7.0 database. Please correct me if any one
knows better...

Is This Answer Correct ?    1 Yes 0 No

When would you not use the oleDbConnection object? a) To connect to an SQL 7.0 database. b) To con..

Answer / g.b.prabhakaran

a

Is This Answer Correct ?    1 Yes 1 No

When would you not use the oleDbConnection object? a) To connect to an SQL 7.0 database. b) To con..

Answer / sathish

a)To connect to an SQL 7.0 database

Is This Answer Correct ?    1 Yes 2 No

When would you not use the oleDbConnection object? a) To connect to an SQL 7.0 database. b) To con..

Answer / harry krish

c) To connect to an Access database.

Is This Answer Correct ?    1 Yes 5 No

When would you not use the oleDbConnection object? a) To connect to an SQL 7.0 database. b) To con..

Answer / sudhir kunnure

u cannot use oleDbConnection object to

a)To connect to an SQL 7.0 database.
b) To connect to a DB/2 database.
d) To connect to an SQL 6.5 database.

Only for
c) To connect to an Access database.

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More ASP.NET Interview Questions

accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) { TextBox t2 = new TextBox(); t2.ID = "adf" + i; PlaceHolder1.Controls.Add(t2); } accessing data entered in the above created controls.

1 Answers  


Hi..I have created a website in Asp.net with C# i want to add Chinese language in my website..could any body tell me that how can i add dynamically this language on user's request...??? thanks n advance...

1 Answers  


define silverlight and advantages ?

3 Answers   QA,


How many types of cookies are there in asp.net?

0 Answers  


1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?

2 Answers   Marlabs,


What are Sticky Sessions?

2 Answers   Infosys,


How .Net has implemented security for web applications?

1 Answers  


Describe the differences between the lifecycles of Windows services and Standard EXE?

0 Answers   Siebel,


What is x xss protection?

0 Answers  


How you will improve web application performance?

0 Answers   Wipro,


Can we use multiple web.config files in an sigle appliction?

3 Answers   IBS,


What is difference between Lambda Expression and LINQ in ASP.NET?

0 Answers   Viscus Infotech,


Categories