System.Web.UI.WebControls.SqlDataSourceView: Property Members

The properties of System.Web.UI.WebControls.SqlDataSourceView are listed below. For a list of all members, see the SqlDataSourceView Members list.

See Also: Inherited members from System.Web.UI.DataSourceView

Public Properties

CancelSelectOnNullParameterbool.

Gets or sets a value indicating whether a data retrieval operation is canceled when any parameter that is contained in the SqlDataSourceView.SelectParameters collection evaluates to null.

[read-only]
override
CanDeletebool.

Gets a value indicating whether the System.Web.UI.WebControls.SqlDataSourceView object that is associated with the current System.Web.UI.WebControls.SqlDataSource control supports the delete operation.

[read-only]
override
CanInsertbool.

Gets a value indicating whether the System.Web.UI.WebControls.SqlDataSourceView object that is associated with the current System.Web.UI.WebControls.SqlDataSource control supports the insert operation.

[read-only]
override
CanPagebool.

Gets a value indicating whether the System.Web.UI.WebControls.SqlDataSourceView object that is associated with the current System.Web.UI.WebControls.SqlDataSource control supports the paging of retrieved data.

[read-only]
override
CanRetrieveTotalRowCountbool.

Gets a value indicating whether the System.Web.UI.WebControls.SqlDataSourceView object that is associated with the current System.Web.UI.WebControls.SqlDataSource control supports retrieving the total number of data rows, in addition to the set of data.

[read-only]
override
CanSortbool.

Gets a value indicating whether the System.Web.UI.WebControls.SqlDataSourceView object that is associated with the current System.Web.UI.WebControls.SqlDataSource control supports a sorted view on the retrieved data.

[read-only]
override
CanUpdatebool.

Gets a value indicating whether the System.Web.UI.WebControls.SqlDataSourceView object that is associated with the current System.Web.UI.WebControls.SqlDataSource control supports the update operation.

ConflictDetectionSystem.Web.UI.ConflictOptions.

Gets or sets the value indicating how the System.Web.UI.WebControls.SqlDataSource control performs updates and deletes when data in a row in the underlying database changes during the time of the operation.

DeleteCommandstring.

Gets or sets the SQL string that the System.Web.UI.WebControls.SqlDataSourceView uses to delete data from the underlying database.

DeleteCommandTypeSqlDataSourceCommandType.

Gets or sets a value indicating whether the text in the SqlDataSourceView.DeleteCommand property is a SQL statement or the name of a stored procedure.

[read-only]
DeleteParametersParameterCollection.

Gets the parameters collection containing the parameters that are used by the SqlDataSourceView.DeleteCommand property.

FilterExpressionstring.

Gets or sets a filtering expression that is applied when the erload:System.Web.UI.WebControls.SqlDataSourceView.Select method is called.

[read-only]
FilterParametersParameterCollection.

Gets a collection of parameters that are associated with any parameter placeholders in the SqlDataSourceView.FilterExpression string.

InsertCommandstring.

Gets or sets the SQL string that the System.Web.UI.WebControls.SqlDataSourceView object uses to insert data into the underlying database.

InsertCommandTypeSqlDataSourceCommandType.

Gets or sets a value indicating whether the text in the SqlDataSourceView.InsertCommand property is a SQL statement or the name of a stored procedure.

[read-only]
InsertParametersParameterCollection.

Gets the parameters collection containing the parameters that are used by the SqlDataSourceView.InsertCommand property.

OldValuesParameterFormatStringstring.

Gets or sets a format string to apply to the names of any parameters that are passed to the erload:System.Web.UI.WebControls.SqlDataSourceView.Delete or erload:System.Web.UI.WebControls.SqlDataSourceView.Update method.

SelectCommandstring.

Gets or sets the SQL string that the System.Web.UI.WebControls.SqlDataSourceView object uses to retrieve data from the underlying database.

SelectCommandTypeSqlDataSourceCommandType.

Gets or sets a value indicating whether the text in the SqlDataSourceView.SelectCommand property is a SQL query or the name of a stored procedure.

[read-only]
SelectParametersParameterCollection.

Gets the parameters collection containing the parameters that are used by the SqlDataSourceView.SelectCommand property.

SortParameterNamestring.

Gets or sets the name of a stored procedure parameter that is used to sort retrieved data when data retrieval is performed using a stored procedure.

UpdateCommandstring.

Gets or sets the SQL string that the System.Web.UI.WebControls.SqlDataSourceView object uses to update data in the underlying database.

UpdateCommandTypeSqlDataSourceCommandType.

Gets or sets a value indicating whether the text in the SqlDataSourceView.UpdateCommand property is a SQL statement or the name of a stored procedure.

[read-only]
UpdateParametersParameterCollection.

Gets the parameters collection containing the parameters that are used by the SqlDataSourceView.UpdateCommand property.

Protected Properties

[read-only]
IsTrackingViewStatebool.

Gets a value indicating whether the System.Web.UI.WebControls.SqlDataSourceView object is saving changes to its view state.

[read-only]
ParameterPrefixstring.

Gets the string that is used to prefix a parameter placeholder in a parameterized SQL query.