'Declaration
Public Overloads Sub Print()
public void Print()
public: void Print();
This key method handles the databound printing. Assign a DataSource to the component and call this method to start a print job. The overloads allow to fine tune the behavior by suppressing the file dialog, the print option dialog, preset the project file name etc. You may also use the Auto... properties (e.g. AutoProjectFile Property) to modify these settings.
'Declaration
Public Overloads Sub Print()
public void Print()
public: void Print();
SqlConnection conn = new SqlConnection(Properties.Settings.Default.ConnectionString); SqlConnectionDataProvider provider = new SqlConnectionDataProvider(conn); LL.DataSource = provider; LL.Print();
Dim conn As New SqlConnection(Properties.Settings.[Default].ConnectionString) Dim provider As New SqlConnectionDataProvider(conn) LL.DataSource = provider LL.Print()
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9