[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.ConnectionProperties.DataProvider

DataProvider Property

DataProvider

Gets or sets the type of the data source.

Declaration
public string DataProvider { get; set; }
Property Value
Type Description
string

A string value indicating the type of the data source.

Remarks
<p>The DataProvider value determines the syntax used for the <xref href="GrapeCity.ActiveReports.PageReportModel.ConnectionProperties.ConnectString" data-throw-if-not-resolved="false"></xref> 

and CommandText properties.

The table below contains the set of data source extensions available by default. Custom extensions can be created but RDL consumers take caution when loading reports containing unknown or unsupported extensions.

ExtensionDescription
SQL Microsoft SQL Server
OLEDBMicrosoft OLE DB Provider
ODBCMicrosoft Open Database Connectivity Driver
Examples
var connectionProperties = new ConnectionProperties();
connectionProperties.DataProvider = "SQL";