Class for creating an embedded report engine connection string
Definition
Namespace:Telerik.ReportViewer.Common
Assembly:Telerik.ReportViewer.WinForms.dll
Syntax:
C#
public class EmbeddedConnectionInfo : ReportEngineConnectionInfoBase
Inheritance: objectReportEngineConnectionInfoBaseEmbeddedConnectionInfo
Inherited Members
Example:
cs
private void SetEmbeddedReportEngineConnection(object sender, System.EventArgs e)
{
this.reportViewer1.ReportEngineConnection = new Telerik.ReportViewer.Common.EmbeddedConnectionInfo().ConnectionString;
//if the ReportEngineConnection property is set to null or empty string, it will use the EmbeddedConnectionInfo by default.
}
vb
Private Sub SetEmbeddedReportEngineConnection(sender As Object, e As System.EventArgs)
Me.ReportViewer1.ReportEngineConnection = New Telerik.ReportViewer.Common.EmbeddedConnectionInfo().ConnectionString
'if the ReportEngineConnection property is set to null or empty string, it will use the EmbeddedReportEngineConnectionInfo by default.
End Sub
Constructors
Creates an instance of EmbeddedConnectionInfo class
C#
public EmbeddedConnectionInfo()