This documentation is archived and is not being maintained.

PagedDataSource.DataSource Property

Gets or sets the data source.

[Visual Basic]
Public Property DataSource As IEnumerable
[C#]
public IEnumerable DataSource {get; set;}
[C++]
public: __property IEnumerable* get_DataSource();
public: __property void set_DataSource(IEnumerable*);
[JScript]
public function get DataSource() : IEnumerable;
public function set DataSource(IEnumerable);

Property Value

A System.Collections.IEnumerable implemented object that represents the data source.

Remarks

Use the DataSource property to specify or determine the data source being paged.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

PagedDataSource Class | PagedDataSource Members | System.Web.UI.WebControls Namespace | System.Collections.IEnumerable

Show: