共用方式為


DataProvider.SetConnectionAndQuery(ExecuteSql, String) Method

Definition

the means to execute the query ( execSql ) and the query ( query ) it executes the query and gets a data reader if retrive mode is DataTable it proceeds to fill it

public void SetConnectionAndQuery (Microsoft.SqlServer.Management.Sdk.Sfc.ExecuteSql execSql, string query);
member this.SetConnectionAndQuery : Microsoft.SqlServer.Management.Sdk.Sfc.ExecuteSql * string -> unit
Public Sub SetConnectionAndQuery (execSql As ExecuteSql, query As String)

Parameters

execSql
ExecuteSql
query
String

Applies to