ASP.Net Interview Question and Answers

56. What is a Literal Control?
  The Literal control is used to display text on a page. The text is programmable. This control does not let you apply styles to its content.
 
Your Name Your Email-ID
Your Answer
57. Which namespaces are used for data access?
 
  • System.Data
  • System.Data.OleDB
  • System.Data.SQLClient
 
Your Name Your Email-ID
Your Answer
58. What is Remoting?
  Remoting is a means by which one operating system process, or program, can communicate with another process. The two processes can exist on the same computer or on two computers connected by a LAN or the Internet.
 
Your Name Your Email-ID
Your Answer
59. What’s the use of “GLOBAL.ASAX” file?
  It allows to executing ASP.NET application level events and setting application-level variables.
 
Your Name Your Email-ID
Your Answer
60. What is a SESSION and APPLICATION object?
  Session object store information between HTTP requests for a particular user.
Session variables are used to store user specific information where as in application variables we can’t store user specific information.
while application object are global across users.
 
Your Name Your Email-ID
Your Answer