Which class do you implement to customize the storage of viewstate into sql server?
-
SaveViewState
-
LoadViewState
-
PageStatePersister
-
SqlPageStatePersister
C
Correct answer
Explanation
The PageStatePersister class is the base class that you inherit from to customize how ViewState is stored and loaded. By creating a custom class that derives from PageStatePersister and overriding the Save and Load methods, you can implement persistence to SQL Server or any other custom storage mechanism.