ListView::IDataBoundControl::DataSource Property

.NET Framework (current version)
 

Gets or sets the object from which a data-bound control retrieves its list of data items.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

private:
property Object^ DataSource {
	virtual Object^ get() sealed = IDataBoundControl::DataSource::get;
	virtual void set(Object^ value) sealed = IDataBoundControl::DataSource::set;
}

Property Value

Type: System::Object^

The object that contains the list of data that a data-bound control retrieves.

This member is an explicit interface member implementation. It can be used only when the ListView instance is cast to an IDataBoundControl interface.

.NET Framework
Available since 4.0
Return to top
Show: