ComponentOne DataObjects for .NET
SelectCommandText Property (C1ExpressTable)

C1.Data.Express.2 Assembly > C1.Data.Express Namespace > C1ExpressTable Class : SelectCommandText Property
Gets or sets the command text (SQL statement or stored procedure) for fetching data from the database.
Syntax
'Declaration
 
Public Property SelectCommandText As System.String
public System.string SelectCommandText {get; set;}
Remarks
In C1DataExpress, in a C1ExpressTable component, specifying this property makes the table SQL-based and clears the DbTableName property. When this property is set at design time, and a database connection exists, fields are automatically retrieved from the database structure, with user confirmation if it is OK to delete the existing fields.
See Also

Reference

C1ExpressTable Class
C1ExpressTable Members