I copyed samle of thinker from this forum to run connection to access table and i"m getting the same error all the time:
"An unhandled exception of type System.Data.OleDb.OleDbException occurred in system.data.dll"
the code is:
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
Dim name As String
Dim sql As String
Dim cn As New OleDb.OleDbConnection()
Dim dr As OleDb.OleDbDataReader
cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= C:\Documents and Settings\
"An unhandled exception of type System.Data.OleDb.OleDbException occurred in system.data.dll"
the code is:
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
Dim name As String
Dim sql As String
Dim cn As New OleDb.OleDbConnection()
Dim dr As OleDb.OleDbDataReader
cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= C:\Documents and Settings\