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

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.

Example


In This Topic
    Design(LlProject,String) 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 projectType As LlProject, _
       ByVal projectFile As String _
    ) 
    public void Design( 
       LlProject projectType,
       string projectFile
    )
    public:
    void Design( 
       LlProject projectType,
       String^ projectFile
    ) 

    Parameters

    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.

    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