I'm using ADODB to connect to a database and using recordsets to get the data. The problem is, the recordsets have been changed in VB.NET. Can someone tell me what I should be using instead of:
VB Code:
  1. Public db As ADODB.Connection
  2.     Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
  3.         Dim dbr1 As ADODB.Recordset
  4.         dbr1 = New ADODB.Recordset()
  5.         Dim SString As String
  6.         Dim Emails As String
  7.         Dim x As Int64
  8.         Connect()
  9.         SString = "SELECT Bill_Email_Address From Emails"
  10.         dbr1.Open(SString, db)
  11.         For x=0 To dbr1.RecordCount
  12.             If Not dbr1(x).Value Is System.DBNull.Value Then
  13.                 Emails = Emails + dbr1(x).Value
  14.             End If
  15.         Next