XtraReportBase.GetNextColumnValue(String) Method
Gets the next value of the specified column in the report’s XtraReportBase.DataSource.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v20.2.dll
NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
columnName | String | A String, which specifies the name of the column whose value to be obtained. |
Returns
Type | Description |
---|---|
Object | An object which represents the next value of the specified column in the data source. If the specified column was not found, this method returns null (Nothing in Visual Basic). |
Remarks
Use the GetNextColumnValue, XtraReportBase.GetPreviousColumnValue and XtraReportBase.GetCurrentColumnValue methods to determine the value of the specified data column when creating a report, for example, in the XRControl.BeforePrint event handler.
To avoid casting the object returned by this method to an appropriate type, use the XtraReportBase.GetNextColumnValue<T> method, which returns a strongly typed object.