ConnectionStringManager ServerChoices Property CleanCode C# Libraries v1.2.03 API
Gets or sets the server choice list presented to user.

Namespace: CleanCode.DatabaseControls
Assembly: CleanCode.DatabaseControls (in CleanCode.DatabaseControls.dll) Version: (1.2.03)

public string[] ServerChoices { get; set; }

Field Value

The server choices.

The server field will render as either a OnlineTextBox or a OnlineComboBox depending on this property. If you populate ServerChoices with a list of one or more server names, the server field will render as a ComboBox. If ServerChoices is left null, or assigned an empty list, the server field will render as a TextBox.
See Also