SqlBulkCopy Tutorial
(Under Construction)


This Website is under developement. It will be ready at the end of April.

SqlBulkCopy DestinationTableName

Description

Name of the destination table.

  • Type: System.Int32
  • Default Value: String.Empty

Example

using (SqlBulkCopy bulkCopy = new SqlBulkCopy(connectionString))
{
    // SET DestinationTableName value.
    bulkCopy.DestinationTableName = "TheDestinationTable";

    // ...ColumnMappings & Options...
    bulkCopy.WriteToServer(dt);
}