Hello, I'm a newbie working with vbnet but i'm trying to create a project were I enter a name in a textbox and save it to a access database.
I'm trying to create the OledbConnection but i'm getting this error:
"oleDbException was unhandled"
this is the code i'm using:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
con = New OleDbConnection("provider=microsoft.jet.oledb.4.0; data source= pract.mbd")
da = New OleDbDataAdapter("select*from emp", con)
cb = New OleDbCommandBuilder(da)
ds = New DataSet
da.Fill(ds, "emp")
End Sub
Thanks!!!!!