PowerWEB LiveControls for ASP.NET
DataSource Property
See Also  Send comments on this topic.
Dart.LiveControls Namespace > LiveDropDownListColumn Class : DataSource Property



Gets or sets the data source that populates the items of the list control.

Syntax

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;}
C++/CLI 
public:
property String^ DataSource {
   String^ get();
   void set (    String^ value);
}

Property Value

A data source that provides data for populating the list control.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.2
© 2012 Dart Communications. All Rights Reserved.