// copying the data from datatable to database table using (SqlBulkCopy bulkcopy = new SqlBulkCopy(connection)) { bulkcopy.DestinationTableName = "table1"; bulkcopy.WriteToServer(dt); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)