Nate Bross
Well-known member
I just wanna know if there is a better way to get a recordset into a dataset...
This code works, just wondering if there is something better
Additionally, is it normal to have my AdoDB.dll in
I want to be using ADO.NET, but since its in Interop folder it makes me worried I am using the old COM version.
-Thanks
This code works, just wondering if there is something better
Code:
Dim rsDB2Data as RecordSet
sSQL = "Select * from " & sDB2Qual & ".SH_QUOTE"
Dim ds As New DataSet
rsDB2Data = AdoDB2Conn.Execute(sSQL)
Dim oleda As New OleDb.OleDbDataAdapter
oleda.Fill(ds, rsDB2Data, sDB2Qual & ".SH_QUOTE")
Additionally, is it normal to have my AdoDB.dll in
Code:
C:\Program Files\Microsoft.NET\Primary Interop Assemblies\ADODB.dll
-Thanks