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

DbSchemaHelper.GetSelectColumnsQuery(DbConnection, String, String, String[]) Method

Returns the SELECT query string from a data source schema.

Namespace: DevExpress.XtraReports.Data

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public string GetSelectColumnsQuery(
    DbConnection connection,
    string tableName,
    string tableSchemaName,
    string[] columnNames
)

#Parameters

Name Type Description
connection DbConnection

A DbConnection object.

tableName String

A String value, specifying the table name.

tableSchemaName String

A String value, specifying the table schema name.

columnNames String[]

An array of String values, specifying the column names.

#Returns

Type Description
String

A String value.

See Also