Share via


SPDataSourceView Members

Include Protected Members
Include Inherited Members

Supports the SPDataSource control and provides an interface for data-bound controls to perform operations against SharePoint Foundation data.

The SPDataSourceView type exposes the following members.

Constructors

  Name Description
Public method SPDataSourceView Initializes a new instance of the SPDataSourceView class.

Top

Properties

  Name Description
Public property CanDelete Gets a Boolean value that indicates whether the delete operation is supported for the current view. (Overrides DataSourceView.CanDelete.)
Public property CanInsert Gets a Boolean value that indicates whether the insert operation is supported for the current view. (Overrides DataSourceView.CanInsert.)
Public property CanPage Gets a Boolean value that indicates whether the current view supports paging through data. (Overrides DataSourceView.CanPage.)
Public property CanRetrieveTotalRowCount Gets a Boolean value that indicates whether the current view supports retrieving the total number of data rows, in addition to the set of data. (Overrides DataSourceView.CanRetrieveTotalRowCount.)
Public property CanSort Gets a Boolean value that indicates whether the current view supports sorting data. (Overrides DataSourceView.CanSort.)
Public property CanUpdate Gets a Boolean value that indicates whether the update operation is supported for the current view. (Overrides DataSourceView.CanUpdate.)
Public property DataSourceMode Gets or sets a value that specifies the type of data to query.
Protected property DataSourceOwner Gets a reference to the data source control that owns this view.
Public property DeleteCommand Gets or sets a query that the SPDataSourceView object uses to delete data.
Public property DeleteParameters Gets the parameter collection that contains parameters for deleting data.
Public property DeleteParametersDictionary Gets an ordered collection of the parameter names and corresponding values that are used with the DeleteCommand.
Protected property Events (Inherited from DataSourceView.)
Public property IncludeHidden Gets or sets a Boolean value that specifies whether hidden fields are included in the query.
Public property IncludeRootFolder
Public property InsertCommand Gets or sets a query that the SPDataSourceView object uses to insert data into the underlying list.
Public property InsertParameters Gets the parameter collection that contains parameters for inserting data.
Public property InsertParametersDictionary Gets an ordered collection of the parameter names and corresponding values that are used with the InsertCommand.
Public property List Gets or sets the list that is represented in the data view.
Public property ListGuid Gets the identifier (ID) of the list that is represented in the data view.
Public property Name (Inherited from DataSourceView.)
Public property RecurrenceRowset
Public property Scope Gets or sets the recursive scope for the view.
Public property SelectCommand Gets or sets a query that the SPDataSourceView object uses to select data.
Public property SelectParameters Gets the parameter collection that contains parameters for selecting data.
Public property SelectParametersDictionary Gets an ordered collection of the parameter names and corresponding values that are used with the SelectCommand.
Public property UpdateCommand Gets or sets a query that the SPDataSourceView object uses to update data in the underlying list.
Public property UpdateParameters Gets the parameter collection that contains parameters for updating the data.
Public property UpdateParametersDictionary Gets an ordered collection of the parameter names and corresponding values that are used with the UpdateCommand.
Public property UseInternalName Gets or sets a Boolean value that indicates whether to use internal names for fields in property descriptors.
Public property UseServerDataFormat
Public property Web
Public property WebURL Gets the server-relative URL of the Web site that the query operates against.

Top

Methods

  Name Description
Public method Delete (Inherited from DataSourceView.)
Public method Equals (Inherited from Object.)
Protected method ExecuteDelete Deletes a list item. (Overrides DataSourceView.ExecuteDelete(IDictionary, IDictionary).)
Protected method ExecuteInsert Inserts a new item into a list. (Overrides DataSourceView.ExecuteInsert(IDictionary).)
Protected method ExecuteSelect Retrieves data from the underlying data source using the SelectCommand string and any parameters that are in the SelectParameters collection. (Overrides DataSourceView.ExecuteSelect(DataSourceSelectArguments).)
Protected method ExecuteUpdate Updates the value of one or more fields in a list item. (Overrides DataSourceView.ExecuteUpdate(IDictionary, IDictionary, IDictionary).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetQueryAndFieldStringFromSelectCommand Parses a request for data from a data-bound control.
Public method GetType (Inherited from Object.)
Public method Insert (Inherited from DataSourceView.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDataSourceViewChanged (Inherited from DataSourceView.)
Protected method RaiseUnsupportedCapabilityError (Inherited from DataSourceView.)
Public method Select(DataSourceSelectArguments) Retrieves data from the underlying data source using the SelectCommand string and any parameters that are in the SelectParameters collection.
Public method Select(DataSourceSelectArguments, DataSourceViewSelectCallback) (Inherited from DataSourceView.)
Public method ToString (Inherited from Object.)
Public method Update (Inherited from DataSourceView.)

Top

Events

  Name Description
Public event DataSourceViewChanged (Inherited from DataSourceView.)

Top

See Also

Reference

SPDataSourceView Class

Microsoft.SharePoint.WebControls Namespace