GridView.SaveViewState Method ()


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

Loads the previously saved view state of the GridView control.

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

protected override object SaveViewState()

Return Value

Type: System.Object

A System.Object that contains the saved view state values for the control.

.NET Framework
Available since 2.0
Return to top