返回首页


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()

 



回答

评论会员: 时间:2