Reporting

Represents a report source that allows a report document to be instantiated from an AssemblyQualifiedName.

Namespace: Telerik.Reporting
Assembly: Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

C#
public class TypeReportSource : ReportSource
Visual Basic
Public Class TypeReportSource _
	Inherits ReportSource

Examples

The following example shows how to create a TypeReportSource:
CopyC#
Telerik.Reporting.TypeReportSource typeReportSource = 
    new Telerik.Reporting.TypeReportSource();

// Specifying the assembly qualified name of the Report class for the TypeName of the report source
typeReportSource.TypeName = "Telerik.Reporting.Examples.CSharp.Invoice, CSharp.ReportLibrary";

// Adding the initial parameter values
typeReportSource.Parameters.Add(new Telerik.Reporting.Parameter("OrderNumber", "SO43659"));
CopyVB.NET
Dim typeReportSource As New Telerik.Reporting.TypeReportSource()

' Specifying the assembly qualified name of the Report class for the TypeName of the report source
typeReportSource.TypeName = "Telerik.Reporting.Examples.VB.Invoice, VB.ReportLibrary"

' Adding the initial parameter values
typeReportSource.Parameters.Add(New Telerik.Reporting.Parameter("OrderNumber", "SO43659"))

Inheritance Hierarchy

System..::..Object
  Telerik.Reporting..::..ReportSource
    Telerik.Reporting..::..TypeReportSource

Version Information

Supported in: 1.0.1

See Also