System.Web.UI.DataSourceView Members

The members of System.Web.UI.DataSourceView are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Initializes a new instance of the System.Web.UI.DataSourceView class.

Public Properties

[read-only]
CanDeletebool.

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports the DataSourceView.ExecuteDelete(IDictionary, IDictionary) operation.

[read-only]
CanInsertbool.

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports the DataSourceView.ExecuteInsert(IDictionary) operation.

[read-only]
CanPagebool.

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports paging through the data retrieved by the DataSourceView.ExecuteSelect(DataSourceSelectArguments) method.

[read-only]
CanRetrieveTotalRowCountbool.

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports retrieving the total number of data rows, instead of the data.

[read-only]
CanSortbool.

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports a sorted view on the underlying data source.

[read-only]
CanUpdatebool.

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports the DataSourceView.ExecuteUpdate(IDictionary, IDictionary, IDictionary) operation.

[read-only]
Namestring.

Gets the name of the data source view.

Protected Properties

[read-only]
EventsSystem.ComponentModel.EventHandlerList.

Gets a list of event-handler delegates for the data source view.

Public Methods

Delete(IDictionary, IDictionary, DataSourceViewOperationCallback)

Performs an asynchronous delete operation on the list of data that the System.Web.UI.DataSourceView object represents.

Insert(IDictionary, DataSourceViewOperationCallback)

Performs an asynchronous insert operation on the list of data that the System.Web.UI.DataSourceView object represents.

Select(DataSourceSelectArguments, DataSourceViewSelectCallback)

Gets a list of data asynchronously from the underlying data storage.

Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback)

Performs an asynchronous update operation on the list of data that the System.Web.UI.DataSourceView object represents.

Protected Methods

ExecuteDelete(IDictionary, IDictionary) : int

Performs a delete operation on the list of data that the System.Web.UI.DataSourceView object represents.

ExecuteInsert(IDictionary) : int

Performs an insert operation on the list of data that the System.Web.UI.DataSourceView object represents.

abstract
ExecuteSelect(DataSourceSelectArguments) : IEnumerable

Gets a list of data from the underlying data storage.

ExecuteUpdate(IDictionary, IDictionary, IDictionary) : int

Performs an update operation on the list of data that the System.Web.UI.DataSourceView object represents.

OnDataSourceViewChanged(EventArgs)

Raises the DataSourceView.DataSourceViewChanged event.

RaiseUnsupportedCapabilityError(DataSourceCapabilities)

Called by the DataSourceSelectArguments.RaiseUnsupportedCapabilitiesError(DataSourceView) method to compare the capabilities requested for an DataSourceView.ExecuteSelect(DataSourceSelectArguments) operation against those that the view supports.

Public Events

DataSourceViewChanged

Occurs when the data source view has changed.