Article ID: 308047 - View products that this article applies to.
This article was previously published under Q308047
Caution ADO and ADO MD have not been fully tested in a Microsoft .NET Framework environment. They may cause intermittent issues, especially in service-based applications or in multithreaded applications. The techniques that are discussed in this article should only be used as a temporary measure during migration to ADO.NET. You should only use these techniques after you have conducted complete testing to make sure that there are no compatibility issues. Any issues that are caused by using ADO or ADO MD in this manner are unsupported. For more information, see the following article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/840667/ )You receive unexpected errors when using ADO and ADO MD in a .NET Framework application
This article demonstrates different ways to create ActiveX Data Objects (ADO) Connection and Recordset objects in Visual Basic .NET. Note that these objects are ADO objects and not ADO.NET objects.
Create ADO Connection and Recordset Objects in Visual Basic .NET
the following build error occurs in Visual Basic .NET:
Value of type 'String' cannot be converted to 'ADODB.Connection'.
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/168336/EN-US/ )How To Open ADO Connection and Recordset Objects
For more information about the advantages of the new DataReader and DataAdapter objects in ADO.NET, visit the following Microsoft Developer (MSDN) Web site:
ADO.NET for the ADO Programmer
Contact us for more help
Connect with Answer Desk for expert help.