LinqDataSourceView.StoreOriginalValuesInViewState Property


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.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public bool StoreOriginalValuesInViewState { get; set; }

Property Value

Type: System.Boolean

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

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

.NET Framework
Available since 3.5
Return to top