ObjectDataSource.SaveViewState Method ()

 
System_CAPS_noteNote

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

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

Saves the state of the ObjectDataSource control.

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

protected override object SaveViewState()

Return Value

Type: System.Object

Returns the server control's current view state; otherwise, returns null, if there is no view state associated with the control.

.NET Framework
Available since 2.0
Return to top
Show: