MobileForms Toolkit Documentation

DataConnector.CommandText Property

Gets or sets the command text.

public string CommandText {get; set;}

Property Value

The command text for the Command, default value is Empty

Remarks

When no command is defined, this property has no effect, otherwise it is a shortcut property for access to the CommandText property of the Command.

Note   This property is used in the design time for the Compact Framework to set up the command text. If it is set in the runtime, and no command was supplied, then new instance of the SqlCeCommand and the SqlCeConnection is created.

Example

AdvancedList1.DbConnector.CommandText = "SELECT * FROM customers" & orderBy

See Also

DataConnector Class | Resco.Controls.AdvancedList Namespace