Hi all:
The following codes is to use ADODB to get data with formats through OLE. You know ADODB has been upgraded to ADO.NET, can anyone give me sample codes like this using ADO.NET.
I try and find that System.Data.DataTable can't support the function like Recordset does.
' obConnection is an open Connection object.
Dim obRecordset As New ADODB.Recordset
obRecordset.ActiveConnection = obConnection
obRecordset.Properties("SAS Formats") = "saledate=mmddyy8.,+price=dollar8.2."