VB Programming question

Status
Not open for further replies.

CntdwnToExtn

Fully Optimized
Messages
1,746
Location
Parents Basement...Still
i know i know, this should be in the programming forum, i posted in there, but, no ones there....and i kinda need some help fast if i can get any



okay.
so, it's 9:08am and i have to present my database program in VB to my professor at 10:00am.

I HAVN'T CHANGED THESE LINES AT ALL.
ZERO, ZILCH, NADDA, ZIPPO!

i've reconnected to the database, thinkin' it just couldn't find it...but..that didn't happen.

this is the error:

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

and this is my code:

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

daCars.Fill(DsCars1)
daTrucks.Fill(DsCars1)


currCars = Me.BindingContext(DsCars1, "Cars")
currTrucks = Me.BindingContext(DsCars1, "Trucks")

End Sub

i comment out the first line and it happens with the second line, i comment out both, the program will run, but my database, ofcourse, won't show up....
 
Status
Not open for further replies.
Back
Top Bottom