ASP.Net Interview Question and Answers

121. What two properties should every Validation control have?
 
  • ControlToValidate and
  • ErrorMessage
 
Your Name Your Email-ID
Your Answer
122. How to Manage State in ASP.Net?
 
    There are several ways to manage a state.
  • ViewState
  • QueryString
  • Cookies
  • Session
  • Application
 
Your Name Your Email-ID
Your Answer
123. How big is the datatype int in .NET?
  32 bits
 
Your Name Your Email-ID
Your Answer
124. How does ASP.NET work with the client and server machines?
  ASP.NET uses client-side code to send messages back to the server. Thus, the server can be aware of what's happening on the client.
 
Your Name Your Email-ID
Your Answer
125. How do you turn off cookies in one page of your asp.net application?
  We may not use them at the max, However to allow the cookies or not, is client side functionality.
 
Your Name Your Email-ID
Your Answer