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.StringThe type of the operation which is performed on the data binding.
controlId
Type: System.StringID of the control.
propertyName
Type: System.StringName of the property.
eventName
Type: System.StringName of the event.
keyField
Type: System.StringKey field.
keyValue
Type: System.StringKey value.
dataField
Type: System.StringData field.
Remarks
This override adds the data binding information for the specified property of the DataFormWebPart to perform the specified operation.