combit List & Label 24 - .NET Online Web Help
MySqlConnectionDataProvider Constructor(String)
Example 


combit.ListLabel24.DataProviders Namespace > MySqlConnectionDataProvider Class > MySqlConnectionDataProvider Constructor : MySqlConnectionDataProvider Constructor(String)
The connection string to use for the provider.
Initializes the data provider to access all elements available from the connection string.
Syntax
'Declaration
 
Public Function New( _
   ByVal connectionString As String _
)
public MySqlConnectionDataProvider( 
   string connectionString
)
public:
MySqlConnectionDataProvider( 
   String^ connectionString
)

Parameters

connectionString
The connection string to use for the provider.
Example
string connectionString = "Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;";
MySqlConnectionDataProvider provider = new MySqlConnectionDataProvider(connectionString);
LL.DataSource = provider;
LL.Design();
Dim connectionString As String = "Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;"
Dim provider As New MySqlConnectionDataProvider(connectionString)
LL.DataSource = provider
LL.Design()
Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

MySqlConnectionDataProvider Class
MySqlConnectionDataProvider Members
Overload List