Wednesday 7 August 2013

How to create and use User Control in asp.net - asp.net example || User Controls in ASP.NET

           Hi Friends, in this article I will explain about what is User control?  How to create and use User Control in asp.net. 
  • User controls (.ascx pages) allow you to save a part of an existing ASP.NET page and reuse it in many other ASP.NET pages ex:header , footers. 
  • A user control is almost identical to a normal .aspx page, with differences: the user control has the .ascx extension rather than .aspx, we cannot run the .ascx page individual and it may not have <HTML>, <Body>, or <Form> tags.

ASP.NET Page Life Cycle Events || What is the sequence in which ASP.NET events are processed? Interview Questions on ASP.NET

Hi friends, in this article I will explain about ASP.NET Page Life Cycle Events or what is the sequence in which ASP.NET events are processed?
In previous article i already explained Interview Questions on SQL SERVER Part I | Interview Questions and Answers on SQL SERVER Part I ,Interview Questions in VB.NET, .NET Framework. and ASP.NET interview Questions .
ASP.NET life cycle is as follows

Tuesday 6 August 2013

ASP.NET ViewState example in VB.NET or C# || How to use ViewState ASP.NET || Working with ViewState in ASP.NET

Hi friends, in this article I will explain about ASP.NET ViewState example in VB.NET or C# || How to use ViewState ASP.NET || Working with ViewState in ASP.NET.
I explained in the previous article about state management on Cookies and Sessions.
  • ViewState is the mechanism that allows state values to be preserved across page postbacks.
  •  I already explained about state management using cookies and sessions.
  • Viewstate is also the mechanism used to store the values across the page postbacks.
  • Maintaining the viewstate is the default for ASP.NET web pages.
  • If you don’t want to maintain the ViewState then include the directive <%@ Page EnableViewState="false" %> at the top of an .aspx page or add the attribute EnableViewState="false" to any control.

Friday 2 August 2013

What are the different types of applications supported in .NET (or) .NET Framework? || Interview Questions on .NET or .NET Framework

Hi friends,in this article i will explain about What are the different types of applications supported in .NET (or) .NET Framework?i already explained in the previous articles about  .NET Interview Questions

What are the different types of applications supported in .NET (or) .NET Framework?
                     When you hear the name .NET, it gives a feeling that it is something to do only with internet or networked applications. Even though it is true that .NET provides solid foundation for developing such applications it is possible to create many other types of applications.The below figure shows .NET framework versions from 2.0 to 4.0.

Wednesday 31 July 2013

How do I set Custom Date Format in DateTimePicker (WinForms)? || Windows Controls - .NET Interview Questions and Answers || Interview Questions on .NET Windows Forms.

Hi friends in this article I will explain about how do I set Custom Date Format in DateTimePicker (WinForms)?  Or Windows Controls - .NET Interview Questions and Answers or Interview Questions on .NET Windows Forms.
How do I set Custom Date Format in DateTimePicker (WinForms)?
You can set custom date format in DateTimePicker using below code.

Tuesday 30 July 2013

Difference between Cookies and Session in ASP.Net || What is cookie? || What is session? How to use sessions and cookies?

Hi Friends, in this article I will explain about the Difference between Cookies and Session in Asp.Net.
I already explained in the previous articles about what is cookie? How to use cookie? What is session? How to use sessions? and i gave one Session State example in ASP.NET Session State Example in C#, VB.NET.and one cookie example in Example for cookie.
We can use session and cookies to maintain the state while during page postbacks.
© 2012-2018 Aspdotnet-Kishore.blogspot.com. All Rights Reserved.
The content is copyrighted to Kishore and may not be reproduced on other websites without permission from the owner.