LinqDataSourceView.StoreOriginalValuesInViewState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.