ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Aspnetcore.Designer Assembly / GrapeCity.ActiveReports.Web.Designer Namespace / ReportDesignerConfiguration Class / UseDataProviders Method
An array of GrapeCity.ActiveReports.Configuration.DataProviderInfo objects representing the data providers.
Example

In This Topic
    UseDataProviders Method (ReportDesignerConfiguration)
    In This Topic
    Adds custom data providers.
    Syntax
    'Declaration
     
    Public Function UseDataProviders( _
       ByVal dataProviderInfos() As DataProviderInfo _
    ) As ReportDesignerConfiguration

    Parameters

    dataProviderInfos
    An array of GrapeCity.ActiveReports.Configuration.DataProviderInfo objects representing the data providers.

    Return Value

    The current ReportDesignerConfiguration instance.
    Example
    app.UseReportDesigner(config =>
    {
    	config.UseDataProviders(new DataProviderInfo[] { new DataProviderInfo("SQLProvider", "SQLProvider.Assembly") });
    });
    See Also
    OSZAR »