SqlDataSource.TrackViewState SqlDataSource.TrackViewState SqlDataSource.TrackViewState SqlDataSource.TrackViewState Method

定义

跟踪对 SqlDataSource 控件的视图状态的更改,以便可将这些更改存储在该控件的 StateBag 对象中。Tracks view state changes to the SqlDataSource control so that the changes can be stored in the StateBag object for the control.

protected:
 override void TrackViewState();
protected override void TrackViewState ();
override this.TrackViewState : unit -> unit
Protected Overrides Sub TrackViewState ()

注解

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.

适用于

另请参阅