combit List & Label 24 - .NET Online Web Help
Design(LlProject,String) Method
Example 


combit.ListLabel24 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.

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 Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

ListLabel Class
ListLabel Members
Overload List