Hello I\'m trying to translate an Excel file to my dataGridView and it\'s having column name issues because the way the Excel file is formatted, there are two setup cells fo
You can skip as many rows you want like this
IEnumerable newRows = dt.AsEnumerable().Skip(numberOfRows); DataTable dt2 = newRows.CopyToDataTable();