problème de connexion de visual studio 2010 à access 2007
Bonjour
L'erreur est la suivante:
Citation:
Format of the initialization string does not conform to specification starting at index 35.
le bout de code est le suivant:
Code:
1 2 3 4 5 6 7
|
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim cnn = New OleDb.OleDbConnection
cnn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source" & Application.StartupPath & "c:\data.accdb"
'get data into list
Me.RefreshData()
End Sub |
Merci de m'aider