|
|
|
SftMask.DataSource Property |
Defines the data source through which the control is bound to a database.
Syntax
VB.NET |
Source = object.DataSource As DataSource |
||
VB |
Set Source = object.DataSource As DataSource |
||
C#.NET |
DataSource Source = object.DataSource; |
||
VC++ |
DataSource* Source = object->DataSource;
|
||
C |
HRESULT object->get_DataSource(DataSource** Source); |
||
Delphi |
Source := object.DataSource : DataSource; |
||
VB.NET |
object.DataSource = Source As DataSource |
||
VB |
Set object.DataSource = Source As DataSource |
||
C#.NET |
DataSource object.DataSource = Source; |
||
VC++ |
DataSource* object->DataSource = Source;
|
||
C |
HRESULT object->putref_DataSource(DataSource* Source); |
||
Delphi |
object.DataSource := Source : DataSource; |
object
A SftMask object.
Source
Defines the data source through which the control is bound to a database. ADO Recordset objects are supported.
Comments
The DataSource property defines the data source through which the control is bound to a database.
When used as a bound control, SftMask can provide access to specific data in your database. SftMask manages a single field in a recordset and displays the value of a specific field in the current record. The DataSource property of the control defines the data source. The DataField property defines the field name in the recordset object created by the data source. Together, these properties define what data appears in the control.
Note: ADO Recordset objects are supported as valid data sources. Visual Basics Data control and RemoteData control cannot be used as data sources.