Best way to Bulk Insert from a C# DataTable
If using SQL Server, SqlBulkCopy.WriteToServer(DataTable) SqlBulkCopy.WriteToServer Method (DataTable) Or also with SQL Server, you can write it to a .csv and use BULK INSERT BULK INSERT (Transact-SQL) If using MySQL, you could write it to a .csv and use LOAD DATA INFILE LOAD DATA INFILE Syntax If using Oracle, you can use the array binding … Read more