Tag: asp

Questions Related to asp

When an .aspx page is requested from the web server, the out put will be rendered to browser in following format.

  1. HTML

  2. XML

  3. WML

  4. JSP


Correct Option: A
  1. Page_Load()

  2. Page_Init()

  3. Page_click()


Correct Option: B
  1. Winforms

  2. HTMLForms

  3. Webforms


Correct Option: C

What namespace does the Web page belong in the .NET Framework class hierarchy?

  1. System.web.UI.Page

  2. System.Windows.Page

  3. System.Web.page


Correct Option: A

Which method do you invoke on the Data Adapter control to load your generated dataset?

  1. Fill( )

  2. ExecuteQuery( )

  3. Read( )


Correct Option: A

How do you register a user control?

  1. Add Tag prefix, Tag name

  2. Add Source, Tag prefix

  3. Add Src, Tagprefix, Tagname


Correct Option: C

Which of the following is true?

  1. User controls are displayed correctly in the Visual Studio .NET Designer

  2. Custom controls are displayed correctly in VS.Net Designer

  3. User and Custom controls are displayed correctly in the Visual Studio .NET Designer.


Correct Option: B

To add a custom control to a Web form we have to register with.

  1. TagPrefix

  2. Name space of the dll that is referenced

  3. Assemblyname

  4. All of the above


Correct Option: D

Custom Controls are derived from which of the classes

  1. System.Web.UI.Webcontrol

  2. System.Web.UI.Customcontrol

  3. System.Web.UI.Customcontrols.Webcontrol


Correct Option: C