ערוך

שתף באמצעות


LinqDataSourceView.StoreOriginalValuesInViewState Property

Definition

Gets or sets a value that indicates that original values from the select operation will be stored in view state when delete or update operations are enabled.

public:
 property bool StoreOriginalValuesInViewState { bool get(); void set(bool value); };
public bool StoreOriginalValuesInViewState { get; set; }
member this.StoreOriginalValuesInViewState : bool with get, set
Public Property StoreOriginalValuesInViewState As Boolean

Property Value

true if original values are saved in view state; otherwise, false. The default value is true.

Remarks

When you set the StoreOriginalValuesInViewState property of the LinqDataSource control, that value is also set for the StoreOriginalValuesInViewState property of the LinqDataSourceView control.

Applies to