StateBag.Item Property (String)
Gets or sets the value of an item stored in the StateBag object.
Assembly: System.Web (in System.Web.dll)
Using this member is the simplest way to save and retrieve view-state values for a control or a page.
If an item is not already stored in the StateBag object when you set this property, its key/value pair is added to the collection. If you set this property to null before the TrackViewState method is called on an item, it is removed from the StateBag object. Otherwise, when you set this property to null the key is saved to allow tracking of the item's view state.
Available since 1.1