Export (0) Print
Expand All

SqlDataSourceView Methods

The SqlDataSourceView type exposes the following members.

  Name Description
Public method CanExecute Determines whether the specified command can be executed. (Inherited from DataSourceView.)
Public method Delete(IDictionary, IDictionary) Performs a delete operation using the DeleteCommand SQL string, any parameters that are specified in the DeleteParameters collection, and the values that are in the specified keys and oldValues collections.
Public method Delete(IDictionary, IDictionary, DataSourceViewOperationCallback) Performs an asynchronous delete operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method ExecuteCommand(String, IDictionary, IDictionary) Executes the specified command. (Inherited from DataSourceView.)
Public method ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback) Executes the specified command. (Inherited from DataSourceView.)
Protected method ExecuteDelete Performs a delete operation using the DeleteCommand SQL string, any parameters that are specified in the DeleteParameters collection, and the values that are in the specified keys and oldValues collections. (Overrides DataSourceView.ExecuteDelete(IDictionary, IDictionary).)
Protected method ExecuteInsert Performs an insert operation using the InsertCommand SQL string, any parameters that are specified in the InsertParameters collection, and the values that are in the specified values collection. (Overrides DataSourceView.ExecuteInsert(IDictionary).)
Protected method ExecuteSelect Retrieves data from the underlying database using the SelectCommand SQL string and any parameters that are in the SelectParameters collection. (Overrides DataSourceView.ExecuteSelect(DataSourceSelectArguments).)
Protected method ExecuteUpdate Performs an update operation using the UpdateCommand SQL string, any parameters that are in the UpdateParameters collection, and the values that are in the specified keys, values, and oldValues collections. (Overrides DataSourceView.ExecuteUpdate(IDictionary, IDictionary, IDictionary).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Insert(IDictionary) Performs an insert operation using the InsertCommand SQL string, any parameters that are specified in the InsertParameters collection, and the values that are in the specified values collection.
Public method Insert(IDictionary, DataSourceViewOperationCallback) Performs an asynchronous insert operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.)
Protected method LoadViewState Restores the previously saved view state for the data source view.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnDataSourceViewChanged Raises the DataSourceViewChanged event. (Inherited from DataSourceView.)
Protected method OnDeleted Raises the Deleted event after the SqlDataSource control has completed a delete operation.
Protected method OnDeleting Raises the Deleting event before the SqlDataSource control attempts a delete operation.
Protected method OnFiltering Raises the Filtering event before the SqlDataSource control filters the results of a select operation.
Protected method OnInserted Raises the Inserted event after the SqlDataSource control has completed an insert operation.
Protected method OnInserting Raises the Inserting event before the SqlDataSource control attempts an insert operation.
Protected method OnSelected Raises the Selected event after the SqlDataSource control has completed a data retrieval operation.
Protected method OnSelecting Raises the Selecting event before the SqlDataSource control attempts a data retrieval operation.
Protected method OnUpdated Raises the Updated event after the SqlDataSource control has completed an update operation.
Protected method OnUpdating Raises the Updating event before the SqlDataSource control attempts an update operation.
Protected method RaiseUnsupportedCapabilityError Compares the capabilities that are requested for an ExecuteSelect operation against those that the view supports and is called by the RaiseUnsupportedCapabilitiesError method. (Overrides DataSourceView.RaiseUnsupportedCapabilityError(DataSourceCapabilities).)
Protected method SaveViewState Saves the changes to the view state for the SqlDataSourceView control since the time that the page was posted back to the server.
Public method Select(DataSourceSelectArguments) Retrieves data from the underlying database using the SelectCommand SQL string and any parameters that are in the SelectParameters collection.
Public method Select(DataSourceSelectArguments, DataSourceViewSelectCallback) Gets a list of data asynchronously from the underlying data storage. (Inherited from DataSourceView.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method TrackViewState Causes the SqlDataSourceView object to track changes to its view state so that the changes can be stored in the StateBag object for the control and persisted across requests for the same page.
Public method Update(IDictionary, IDictionary, IDictionary) Performs an update operation using the UpdateCommand SQL string, any parameters that are in the UpdateParameters collection, and the values that are in the specified keys, values, and oldValues collections.
Public method Update(IDictionary, IDictionary, IDictionary, DataSourceViewOperationCallback) Performs an asynchronous update operation on the list of data that the DataSourceView object represents. (Inherited from DataSourceView.)
Top

  Name Description
Explicit interface implemetation Private method IStateManager.LoadViewState Infrastructure. For a description of this member, see IStateManager.LoadViewState(Object).
Explicit interface implemetation Private method IStateManager.SaveViewState Infrastructure. For a description of this member, see IStateManager.SaveViewState().
Explicit interface implemetation Private method IStateManager.TrackViewState Infrastructure. For a description of this member, see TrackViewState.
Top
Show:
© 2014 Microsoft