combit List & Label 29 - .NET Help
combit.Reporting Namespace / ListLabel Class / Design Method / Design(String,LlProject,String,Boolean) Method

Window title for the Designer.

Project type. See LlProject. Can also be set via the AutoProjectType Property.

File name of the project or default for the file selection dialog. Can also be set via the AutoProjectFile Property.

Use false to suppress the file selection dialog. Can also be set via the AutoShowSelectFile Property.

Example


In This Topic
    Design(String,LlProject,String,Boolean) Method
    In This Topic

    This key method handles databound report design. Assign a DataSource to the component and call this method to start the Designer.

    Syntax
    'Declaration
     
    
    Public Overloads Sub Design( _
       ByVal designerTitle As String, _
       ByVal projectType As LlProject, _
       ByVal projectFile As String, _
       ByVal showFileSelect As Boolean _
    ) 

    Parameters

    designerTitle

    Window title for the Designer.

    projectType

    Project type. See LlProject. Can also be set via the AutoProjectType Property.

    projectFile

    File name of the project or default for the file selection dialog. Can also be set via the AutoProjectFile Property.

    showFileSelect

    Use false to suppress the file selection dialog. Can also be set via the AutoShowSelectFile Property.

    Example
    SqlConnection conn = new SqlConnection(Properties.Settings.Default.ConnectionString); 
    SqlConnectionDataProvider provider = new SqlConnectionDataProvider(conn); 
    LL.DataSource = provider; 
    LL.Design();
    Dim conn As New SqlConnection(Properties.Settings.[Default].ConnectionString)
    Dim provider As New SqlConnectionDataProvider(conn)
    LL.DataSource = provider
    LL.Design()
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also