Compartilhar via


DataFormWebPart.AddDataBinding Method

Adds the data binding information for a specified property in the DataFormWebPart.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Sub AddDataBinding ( _
    op As String, _
    controlId As String, _
    propertyName As String, _
    eventName As String, _
    keyField As String, _
    keyValue As String, _
    dataField As String _
)
'Usage
Dim instance As DataFormWebPart
Dim op As String
Dim controlId As String
Dim propertyName As String
Dim eventName As String
Dim keyField As String
Dim keyValue As String
Dim dataField As String

instance.AddDataBinding(op, controlId, _
    propertyName, eventName, keyField, _
    keyValue, dataField)
public override void AddDataBinding(
    string op,
    string controlId,
    string propertyName,
    string eventName,
    string keyField,
    string keyValue,
    string dataField
)

Parameters

  • op
    Type: System.String

    The type of the operation which is performed on the data binding.

Remarks

This override adds the data binding information for the specified property of the DataFormWebPart to perform the specified operation.

See Also

Reference

DataFormWebPart Class

DataFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace