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) » SADataAdapter 类 » SADataAdapter 构造函数

 

SADataAdapter(String, String) 构造函数

用指定的 SELECT 语句和连接字符串初始化 SADataAdapter 对象。

语法
Visual Basic

Public Sub New( _
   ByVal selectCommandText As String, _
   ByVal selectConnectionString As String _
)
C#

public  SADataAdapter(
   string  selectCommandText,
   string  selectConnectionString
);
参数
  • selectCommandText   用于设置 SADataAdapter 对象的 SADataAdapter.SelectCommand 属性的 SELECT 语句。

  • selectConnectionString   SQL Anywhere 数据库的连接字符串。

另请参见