FormView::SaveViewState Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Use BaseTrue

Saves the current view state of the FormView control.

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

virtual Object^ SaveViewState() override

Return Value

Type: System::Object^

An Object that contains the saved state of the FormView control.

The SaveViewState method is a helper method called by the FormView control to save the state of the control.

.NET Framework
Available since 2.0
Return to top