Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

DataSource Property, SftMask Object

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

Syntax

Get

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

PutRef

VB.NETobject.DataSource = Source As DataSource
VBSet object.DataSource = Source As DataSource
C#.NETDataSource object.DataSource = Source;
VC++DataSource* object->DataSource = Source;
void object->PutRefDataSource(DataSource* Source);
CHRESULT object->putref_DataSource(DataSource* Source);

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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.