Here is my code. I get error: No value given for one or more required parameters.
Dim DBAdd As New OleDbCommand
DBAdd.Connection = objConnection
DBAdd.Connection.Open()
DBAdd.CommandText = "INSERT INTO Table1 (RecordsID,Material,Component,VID,PID,DownloadPriority)VALUES(11,'Materialtexttext','ComponentTexttext','vidint','pidint',prtyint)"
DBAdd.ExecuteNonQuery()
I tried using update command of OLEDB Data adapters also by adding new row.
But still I could not get record inserted in database.