Dim con As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\billing.accdb;Persist Security Info=True") Dim objcmd As OleDbCommand con.Open() objcmd = New OleDbCommand("INSERT INTO bills VALUES(..,.. ,.....)", con) objcmd.ExecuteNonQuery() <------------ Getting Error here that the path is not correct con.Close()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)