WriteToServer(DataTable) method

Copies all rows in the supplied [external link] DataTable to a destination table specified by the DestinationTableName property of the SABulkCopy object.

Syntax
Visual Basic

Public Sub WriteToServer( _
   ByVal table As DataTable _
)
C#

public void WriteToServer(
   DataTable table
);
Parameters
  • table   A System.Data.DataTable whose rows will be copied to the destination table.

Remarks

Restrictions: The SABulkCopy class is not available in the .NET Compact Framework 2.0.

See also