Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRBinding.Assign(Object, String) Method

In This Article

Assigns the specified data source and a data member to the current data binding.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public void Assign(
    object dataSource,
    string dataMember
)

#Parameters

Name Type Description
dataSource Object

A Object that specifies the data source for the current data binding. This value is assigned to the XRBinding.DataSource property.

dataMember String

A String value that specifies the data member for the current data binding. This value is assigned to the XRBinding.DataMember property.

See Also