Im currently trying to insert data that exists within a Excel spreadsheet directly into an Access table using C#. Dont want to use Interop in order to avoid hung sessions etc.
Managed to get quite far down the track using OleDb and the following SQL:-
INSERT INTO [MS Access;DATABASE=C:\Reports.mdb].tbl_Limit SELECT 1,Limit FROM [rngLimit]" where rngLimit is a Excel Range name.
Err Message:= No value given for one or more required parameters.
Very close but it still doesn't work. Any ideas?