Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere .NET 2.0 API 参考 » iAnywhere.Data.SQLAnywhere 命名空间 (.NET 2.0) » SABulkCopy 类 » WriteToServer 方法

 

WriteToServer(DataRow[]) 方法

将所提供的 [external link] DataRow 对象数组中的所有行复制到由 SABulkCopy 对象的 DestinationTableName 属性所指定的目标表中。

语法
Visual Basic

Public Sub WriteToServer( _
   ByVal rows As DataRow() _
)
C#

public void WriteToServer(
   DataRow[] rows
);
参数
  • rows   将要复制到目标表中的 System.Data.DataRow 对象的数组。

注释

Restrictions: 无法在 .NET Compact Framework 2.0 中使用 SABulkCopy 类。

另请参见