The following namespaces are imported by default. Other namespaces must be imported manually using @ Import directives.
· System
· System.Collections
· System.Collections.Specialized
· System.Configuration
· System.Text
· System.Text.RegularExpressions
· System.Web
· System.Web.Caching
· System.Web.Security
· System.Web.SessionState
· System.Web.UI
· System.Web.UI.HtmlControls System.Web.UI.WebControls
A complete reference about Interview Question all Freshers and Experience students.Microsoft .NET is a software development platform based on virtual machine based architecture. Dot net is designed from the scratch to support programming language independent application development. The entire .NET programs are independent of any particular operating system and physical hardware machine.
Showing posts with label Framework. Show all posts
Showing posts with label Framework. Show all posts
ViewState
Each control on a Web Forms page, including the page itself, has a ViewState property that it inherits from the base Control class. View state is used by the ASP.NET page framework to automatically save the values of the page and of each control just prior to rendering to the page. When the page is posted, one of the first tasks performed by page processing is to restore view state.
You can use the ViewState property to save your values independent of control state between round trips to the server. The ViewState property is stored in the page in a hidden form field
You can use the ViewState property to save your values independent of control state between round trips to the server. The ViewState property is stored in the page in a hidden form field
Difference Between ViewState and SessionState
ViewState persist the values of controls of particular page in the client (browser) when post back operation done. When user requests another page previous page data no longer available.
SessionState persist the data of particular user in the server. This data available till user close the browser or session time completes.
SessionState persist the data of particular user in the server. This data available till user close the browser or session time completes.
Subscribe to:
Posts (Atom)