HeaderPane
Main
Hide
Share Link
Print

DataSource Property, SftMask Object

Defines the data source through which the control is bound to a database.

Syntax

Get

C#DataSource Source = object.DataSource;
VB.NETSource = object.DataSource As DataSource
C++DataSource* Source = object->DataSource;
DataSource* Source = object->GetDataSource();
CHRESULT object->get_DataSource(DataSource** Source);
VBSet Source = object.DataSource As DataSource

PutRef

C#DataSource object.DataSource = Source;
VB.NETobject.DataSource = Source As DataSource
C++DataSource* object->DataSource = Source;
void object->PutRefDataSource(DataSource* Source);
CHRESULT object->putref_DataSource(DataSource* Source);
VBSet object.DataSource = Source As 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 Basic's Data control and RemoteData control cannot be used as data sources.

See Also SftMask Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.