SqlDataSource.TrackViewState Method


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

 override void TrackViewState();
protected override void TrackViewState ();
override this.TrackViewState : unit -> unit
Protected Overrides Sub 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.

Applies to

See also