ASP.Net Interview Question and Answers

71. What is AutoPostback?
  AutoPostBack automatically posts the page back to the server when state of the control is changed.
 
Your Name Your Email-ID
Your Answer
72. What is the difference between Web server controls and Custom user Controls in Asp.net?
 
  • The Asp.net Web server controls are objects on the Asp.net pages that run when the Web page is requested. Many Web server controls such as button and text box, are similar to the HTML controls.
  • The Custom user controls are the controls that are defined by developers. These controls are a mixture of custom behavior and predefined behavior.
  • These controls work similar to other Web server controls.
 
Your Name Your Email-ID
Your Answer
73. What is the main difference between Asp.net and Vb.net?
 
  • Asp.net is a web technology used for designing webforms and Vb.net is a programming language
  • ASP.NET is a powerful technology for writing dynamic web pages.
  • ASP.NET is a way of creating dynamic web pages while making use of the innovations present in .NET.
  • VB.NET is a language.But ASP.NET is the Environment where we can create websites or webpages.
 
Your Name Your Email-ID
Your Answer
74. Is string a value type or a reference type?
  Srting is a Reference type.It can create a new instance at every time.
 
Your Name Your Email-ID
Your Answer
75. What base class do all Web Forms inherit from?
  System.web.UI.Page class
 
Your Name Your Email-ID
Your Answer