This documentation is archived and is not being maintained.

SPDataSource Members

Represents Windows SharePoint Services data to data-bound controls.

The SPDataSource type exposes the following members.

Public method SPDataSource Initializes a new instance of the SPDataSource class.

Protected property Adapter (Inherited from Control.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property BindingContainer (Inherited from Control.)
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID (Inherited from DataSourceControl.)
Protected property ClientIDSeparator (Inherited from Control.)
Protected property Context (Inherited from Control.)
Public property Controls (Inherited from DataSourceControl.)
Public property DataSourceMode Gets or sets a value that specifies the type of data to query.
Public property DeleteCommand Gets or sets a query that is used to delete data.
Public property DeleteParameters Gets the parameter collection that contains parameters for deleting data.
Protected property DesignMode (Inherited from Control.)
Public property EnableTheming (Inherited from DataSourceControl.)
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Protected property HasChildViewState (Inherited from Control.)
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Public property IncludeHidden Gets or sets a System.Boolean value that specifies whether hidden fields are included in the query.
Public property InsertCommand Gets or sets a query that is used to insert data.
Public property InsertParameters Gets the parameter collection that contains parameters for inserting data.
Protected property IsChildControlStateCleared (Inherited from Control.)
Protected property IsTrackingViewState (Inherited from Control.)
Protected property IsViewStateEnabled (Inherited from Control.)
Public property List Gets or sets the list that the query will operate against.
Protected property LoadViewStateByID (Inherited from Control.)
Public property NamingContainer (Inherited from Control.)
Public property Page (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property Scope Gets or sets the recursive scope for the view.
Public property SelectCommand Gets or sets a query that is used to retrieve list data.
Public property SelectParameters Gets the parameters collection that contains parameters for selecting data.
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from DataSourceControl.)
Public property TemplateControl (Inherited from Control.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property UniqueID (Inherited from Control.)
Public property UpdateCommand Gets or sets a query that is used to update data.
Public property UpdateParameters Gets the parameter collection that contains parameters for updating data.
Public property UseInternalName Gets or sets a Boolean value that indicates whether fields and properties are referenced by internal names.
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property Visible (Inherited from DataSourceControl.)

Protected method AddedControl (Inherited from Control.)
Protected method AddParsedSubObject (Inherited from Control.)
Public method ApplyStyleSheetSkin (Inherited from DataSourceControl.)
Protected method BuildProfileTree (Inherited from Control.)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Public method Clone Creates a new object that is a copy of the current instance of the SPDataSource class.
Protected method CreateChildControls (Inherited from Control.)
Protected method CreateControlCollection (Inherited from DataSourceControl.)
Public method DataBind() (Inherited from Control.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Public method Dispose (Inherited from Control.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureID (Inherited from Control.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindControl(String) (Inherited from DataSourceControl.)
Protected method FindControl(String, Int32) (Inherited from Control.)
Public method Focus (Inherited from DataSourceControl.)
Protected method GetDesignModeState (Inherited from Control.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetView() Gets the default view as an SPDataSourceView object.
Protected method GetView(String) Gets a specified view as an DataSourceView object. (Overrides DataSourceControl.GetView(String).)
Protected method GetViewNames Returns the collection of view names that are associated with the data source control. (Overrides DataSourceControl.GetViewNames().)
Public method HasControls (Inherited from DataSourceControl.)
Protected method HasEvents (Inherited from Control.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState (Inherited from Control.)
Protected method LoadViewState (Inherited from Control.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnDataBinding (Inherited from Control.)
Protected method OnInit (Inherited from Control.)
Protected method OnLoad (Inherited from Control.)
Protected method OnPreRender (Inherited from Control.)
Public method OnSelecting Raises the Selecting event.
Protected method OnUnload (Inherited from Control.)
Protected method OpenFile (Inherited from Control.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Protected method RaiseDataSourceChangedEvent (Inherited from DataSourceControl.)
Protected method RemovedControl (Inherited from Control.)
Protected method Render (Inherited from Control.)
Protected method RenderChildren (Inherited from Control.)
Public method RenderControl(HtmlTextWriter) (Inherited from DataSourceControl.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method SaveControlState (Inherited from Control.)
Protected method SaveViewState (Inherited from Control.)
Protected method SetDesignModeState (Inherited from Control.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from Control.)

Public event DataBinding (Inherited from Control.)
Public event Disposed (Inherited from Control.)
Public event Init (Inherited from Control.)
Public event Load (Inherited from Control.)
Public event PreRender (Inherited from Control.)
Public event Selecting Occurs before a data retrieval operation.
Public event Unload (Inherited from Control.)

Public field Static member DefaultViewName Represents the name of the default view. This field is read-only.
Public field Static member SystemPropertyPrefix Represents the system property prefix. This field is read-only.