SQLConnectionControl ConnectionString Property Control Documentation
Gets or sets the current connectionstring.

Namespace: ZsZ_Studio.Controls
Assembly: SQL.Connection.Control (in SQL.Connection.Control.dll) Version: 1.0.4947.20663 (1.0.0.0)
Syntax

public string ConnectionString { get; set; }

Property Value

Type: OnlineString
Remarks

The control try parse the connectionstring. On error raises ErrorOccurred event with property ErrorType.ConnectionStringParseError and the Exception object.
Examples

(VB.NET) This sample shows how to set the connectionstring.
Dim scc As New ZsZ_Studio.Controls.SQLConnectionControl
scc.Location = New Point(10, 10)

scc.ConnectionString = "Data Source=localhost\SQLEXPRESS;Initial Catalog=NewDatabase;Integrated Security=False;User ID=sa;Password=pass"

Me.Controls.Add(scc)
See Also