| Visual Basic (Declaration) | |
|---|---|
Public Property DataSource As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As LiveDropDownListColumn Dim value As String instance.DataSource = value value = instance.DataSource | |
| C# | |
|---|---|
public string DataSource {get; set;} | |
Property Value
A data source that provides data for populating the list control.Use this property to specify a source of data to populate a list control.
The items in the Items collection are initialized from LiveDropDownListColumn.DataTextField and LiveDropDownListColumn.DataValueField.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code