dotConnect for Adobe Commerce Documentation
Devart.Data Namespace / DataLink Class
Members Example

In This Topic
    DataLink Class
    In This Topic
    Allows establishing flexible cross-form data binding.
    Syntax
    Example
    It is recommended to work with this component in design time. For example, if you create the MagentoDataTable object (“adobe commerceDataTable1”) on Form1, you can access Form1's adobe commerceDataTable1 via the DataSource property of Form2's DataLink object (“dataLink1”). In this case, you will find the following entry in Form2.InitializeComponent():
    private void InitializeComponent() {
            ...
            this.dataLink1.DataSource = ((object)(Devart.Common.GlobalComponentsCache.GetObjectByName("Form1.adobe commerceDataTable1")));
            ...
    }
    Private Sub InitializeComponent()
            ...
            Me.DataLink1.DataSource = CType(Devart.Common.GlobalComponentsCache.GetObjectByName("Form1.adobe commerceDataTable1"), Object)
            ...
    End Sub
    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.ComponentModel.Component
             System.Windows.Forms.BindingSource
                Devart.Data.DataLink

    See Also