SqlDataSource.SaveViewState 方法

定义

保存 SqlDataSource 控件的当前视图状态。Saves the current view state of the SqlDataSource control.

protected:
 override System::Object ^ SaveViewState();
protected override object SaveViewState ();
override this.SaveViewState : unit -> obj
Protected Overrides Function SaveViewState () As Object

返回

一个包含 SqlDataSource 的已保存状态的对象。An object that contains the saved state of the SqlDataSource.

适用于

另请参阅