Initialize a new instance of the TdDataAdapter class and sets the SelectCommand property.
The following example creates an instance of TdDataAdapter class, sets some of the properties and fills a DataSet.
public DataSet ExecuteQuery(String selectCmdText, String connectionString)
{
DataSet ds = new DataSet();
TdDataAdapter adapter = new TdDataAdapter(selectCmdText, connectionString);
adapter.Fill(ds);
return ds;
}
Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2