LoadViewState Method

SqlDataSource::LoadViewState Method (Object^)


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

Loads the state of the properties in the SqlDataSource control that need to be persisted.

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

virtual void LoadViewState(
	Object^ savedState
) override


Type: System::Object^

An object that represents the state of the SqlDataSource.

The LoadViewState method is used to load the previously saved view state of the SqlDataSource control.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft