SqlDataSource.LoadViewState(Object) SqlDataSource.LoadViewState(Object) SqlDataSource.LoadViewState(Object) SqlDataSource.LoadViewState(Object) Method

定义

加载 SqlDataSource 控件中需要保留的属性的状态。Loads the state of the properties in the SqlDataSource control that need to be persisted.

protected:
 override void LoadViewState(System::Object ^ savedState);
protected override void LoadViewState (object savedState);
override this.LoadViewState : obj -> unit
Protected Overrides Sub LoadViewState (savedState As Object)

参数

savedState
Object Object Object Object

一个表示 SqlDataSource 的状态的对象。An object that represents the state of the SqlDataSource.

注解

方法用于加载以前保存的SqlDataSource控件视图状态。 LoadViewStateThe LoadViewState method is used to load the previously saved view state of the SqlDataSource control.

适用于

另请参阅