Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

Filling Dataset

I am trying to fill my dataset using this code:

Private Sub frmFriendDirectory_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  odaFriends.Fill(DsDirectory1)
End Sub

But I keep getting this error message:

An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll

I have tried to reconfigure my data adapters, regenerate the datasets, even delete everything and start over, and I still keep getting the same message. I don't understand why... please help me!!!

jeri
Monday, January 12, 2004

Private Sub frmFriendDirectory_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  Try
    odaFriends.Fill(DsDirectory1)
  Catch error As Exception
      MsgBox(error.Message)
  End Try
End Sub

Duncan Smart
Monday, January 12, 2004

*  Recent Topics

*  Fog Creek Home