ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / ConnectionProperties Class / ConnectString Property
Example

In This Topic
    ConnectString Property
    In This Topic
    Gets or sets a connection string used to connect to the data source.
    Syntax
    'Declaration
     
    Public Property ConnectString As ExpressionInfo
    public ExpressionInfo ConnectString {get; set;}

    Property Value

    A System.String value indicating the connection string for the data source.
    Example
    var connectionProperties = new ConnectionProperties();
    connectionProperties.ConnectString = ExpressionInfo.FromString("Server=myServer;Database=myDatabase;Integrated Security=True;");
    See Also