I want to insert data to excel sheet using Excel query. The problem is, the sheet I want to insert data in contains some data above header row. Excel detects first data row as its header row. So when I insert data like this:
OleDbCommand cmd = new OleDbCommand("Insert into [Sheet1$] (id, name, lastname) values ('1', 'jim', 'carry')");
This query is not able to find columns because first row contains some other information. Can anyone please help me how can I insert rows after my header row specifically.