SqlDataSource.TrackViewState Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Tracks view state changes to the SqlDataSource control so that the changes can be stored in the System.Web.UI.StateBag object for the control.

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

protected override void TrackViewState()

The TrackViewState method is overridden to mark the starting point to begin tracking and saving changes to the control as part of the view state for the control.

.NET Framework
Available since 2.0
Return to top
Show: