Problem:
(a) Define the term ViewState as used in the ASP.NET framework.
(b) What is a StateBag class? Give a simple example to support your answer.
(c) (i) Distinguish between a Default Skin and a Named Skin.
(ii) The codes given below is an excerpt from the Web.Config file. What is the purpose of the styleSheetTheme attribute.
< system.web>
< pages styleSheetTheme="SmokeAndGlass"="true"/>
< /system.web>
(d) Write extract codes to demonstrate how you can achieve the following:
(i) set a persistent cookie from the value entered in the "txtUsername" TextBox control
(ii) retrieve the cookie value
(iii) delete the cookie.