EasyUA Reference
AddLink(NodeId,Object,Int32,Int32,DataBindFormat) Method
See Also  Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace > UaDataBind Class > AddLink Method : AddLink(NodeId,Object,Int32,Int32,DataBindFormat) Method

itemID
Fully qualified item ID
updControl
Windows control object or callback handler
index
Item index in the control
index2
Additional index for some controls. In a ListView control it defines the column.
fmt
Object with format information

Glossary Item Box

Create a DataBind link for one item. The item is added to the refresh group and the internal callback handler will write new values to the specified control at the specified index. The value is formatted according the format definition object.
DataBind.ApplyChanges() must be called for the added links to be activated in the server. This is to increase performance by activating multple links with a single server access.

Syntax

Visual Basic (Usage)Copy Code
Dim instance As UaDataBind
Dim itemID As NodeId
Dim updControl As Object
Dim index As Integer
Dim index2 As Integer
Dim fmt As DataBindFormat
Dim value As DBLink
 
value = instance.AddLink(itemID, updControl, index, index2, fmt)

Parameters

itemID
Fully qualified item ID
updControl
Windows control object or callback handler
index
Item index in the control
index2
Additional index for some controls. In a ListView control it defines the column.
fmt
Object with format information

Return Value

Subscription object or null on error

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.