SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the data source through which the control is bound to a database.
Get
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; DataSource* Source = object->GetDataSource(); |
C | HRESULT object->get_DataSource(DataSource** Source); |
PutRef
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; void object->PutRefDataSource(DataSource* Source); |
C | HRESULT object->putref_DataSource(DataSource* Source); |
object
Source
Defines the data source through which the control is bound to a database. ADO Recordset objects are supported.
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 Basic's Data control and RemoteData control cannot be used as data sources.
See Also SftMask Object | Object Hierarchy