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
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 |
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 |
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 |
What type of code (server or client) is found in a Code-Behind class?
Explain the difference between asp.net mvc and asp.net webforms
About the Usage of htmlencode and urlencode ?
What is asp.net and ado net?
Various types of Page Load functions
How to Separate background image and front image from original picture....
0 Answers Sans Pareil IT Services,
How do pass data from one layer to another layer in N-tier architecture?
Which dll handles the request of .aspx page?
can sn.exe can be used before gacutil.exe
How to set the pane area to transparent of a scrollPane component.?
Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?
Explain what is an assembly?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)