I am trying to run Wrox "Beginning
VB.net 2nd edition example" in chapter 16 pg650 and I am getting an error saying:
An unhandled exception of type' system.data.oleDb.oledbException'
occured in system.data.dll
here is the code:
Private Sub FillDataSetAndView()
'initialize a new instance of the dataset object..
myDS = New DataSet
'fill the dataset object with data ...
myAdapter.Fill(myDS, "authors")
'set the dataview object to the dataset object...
myDV = New DataView(myDS.Tables("authors"))
'set our currencyManager object to the dataview object..
myCurrencyManager = CType(Me.BindingContext(myDV), CurrencyManager)
End Sub
thanks for your help