Hour 5

for RuBoard

Quiz Answers


Describe the difference between the SqlConnection and OleDbConnection objects.


The SqlConnection object is used to connect to Microsoft SQL Server version 7.0 and higher using a managed provider that "talks" directly to SQL Server. The OleDbConnection object connects to OLE DB sources.


True or false: If you do not call the Close() method of the Connection object, the connection to the database will be automatically closed before the object is destroyed by the garbage collector.


False. Connections to the database are not automatically closed.

for RuBoard

Sams Teach Yourself ADO. NET in 24 Hours
Sams Teach Yourself ADO.NET in 24 Hours
ISBN: 0672323834
EAN: 2147483647
Year: 2002
Pages: 237

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net