It is a state management technique in asp.net. ASP.NET Viewstate is preserving the data between the requests or postbacks and stored in hidden fields on...
int i= 0; MessageBox.Show(i.ToString()); MessageBox.Show(Convert.ToString(i)); We can convert the integer i using i.ToString () or Convert.ToString The basic difference between them is “Convert” function handles NULLS while“.ToString()” does not it...
Asp.Net 2.0 fixed this with built-in features that allowed us to easily send information from one page to another.Button control has property PostBackUrl that can be set...
State management is the process by which you maintain state and page information over multiple requests for the same or different pages. There are 2...
PreInit: Check for the IsPostBack property to determine whether this is the first time the page is being processed. Create or recreate dynamic controls. Set master page...
Example for Custom validator In Designer aspx <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="Not a even...
Standard Naming Convention for ASP.NET and C# In programming language naming convention have great benefits to reduce the effort needed to read and understand source...
At first glance, the three tiers may seem similar to the model-view-controller (MVC) concept; however, topologically they are different. A fundamental rule in a three tier...