Home
Current Affairs January 2024

What is the correct answer?

4

RadioButtonsLists __________ property is used to add RadioButtons at runtime

A. Items

B. Collection

C. AddItem

D. None of the above

Correct Answer :

A. Items


Related Questions

What is the correct answer?

4

Which of the following tool is used to manage the GAC?

A. RegSvr.exe

B. GacUtil.exe

C. GacSvr32.exe

D. GacMgr.exe

What is the correct answer?

4

_________ is used to write/read into a leaf node

A. Value

B. InnerText

C. Text

D. InnerValue

What is the correct answer?

4

In the Adrotator XML file ________ is used to mention the file to link to

A. <ImageUrl>

B. <NavigateUrl>

C. <Url>

D. <Link>

What is the correct answer?

4

Under Button Click the following code is written
1. Dim I =10
2. MsgBox(I)

A. Problem is in line 1

B. Problem is in line 2

C. Will display 10 in a message box

D. Compilation Error

What is the correct answer?

4

A web server control is written as

A. <asp-TextBox ......

B. <asp TextBox ......

C. <aspTextBox ........

D. <asp:TextBox ........

What is the correct answer?

4

One difference between ASP.NET and ASP is that ASP is more structure than ASP.NET

A. True

B. False

What is the correct answer?

4

Which of the following is not a member of ADODBCommand object?

A. ExecuteScalar

B. ExecuteStream

C. Open

D. ExecuteReader

What is the correct answer?

4

To count how many users have logged in the web site till date use

A. Increment Session Variable in Session_Start event of Global.asax file

B. Increment Session Variable in Aplication_Start event of Global.asax file

C. Increment Application Variable in Session_Start event of Global.asax file

D. Increment Application Variable in Application_Start event of Global.asax file

What is the correct answer?

4

In ASP.NET, the default method of a form is

A. Get

B. Post

What is the correct answer?

4

What class does the ASP.NET Web Form class inherit from by default?

A. System.Web.UI.Page

B. System.Web.UI.Form

C. System.Web.GUI.Page

D. System.Web.Form

What is the correct answer?

4

Checkboxes have same name and different values while Radio Buttons have the reverse

A. True

B. False

What is the correct answer?

4

Menus can be added to an ASP.NET Page

A. True

B. False

What is the correct answer?

4

ASP.NET supports all data types that VB.NET supports

A. True

B. False

What is the correct answer?

4

A _____________ is a logical naming scheme for grouping related types of

A. objects together.

B. class

C. namespace

D. interface

What is the correct answer?

4

You need to modify an ASP.NET page to prevent the browser window from going blank after a postback and to maintain the correct control focus after events are processed. What should you do?

A. Add the following attribute to the HTML code for the controls that cause the postbacks:
RunAt="client"

B. Add the following attribute to the HTML code for the controls that cause the postbacks:
EnableViewState="True"

C. Add the following attribute to the Page directive for the aspx file:
SmartNavigation="True"

D. Add the following attribute to the OutputCache directive for the aspx file:
Location="client

What is the correct answer?

4

To open Microsoft Word from ASP.NET page use

A. Response.Content

B. Response.ContentType

C. Request.Content

D. Request.ContentType

What is the correct answer?

4

The first event triggers in an aspx page is.

A. Page_Init()

B. Page_Load()

C. Page_click()

D. None of these

What is the correct answer?

4

To pass queries to Crystal Reports use

A. SelectionFormula

B. Formula

C. Filter

D. None of the above

What is the correct answer?

4

To make a RepeaterControl viewable, the controls ____________ must be edited

A. DataSource

B. DataMember

C. ItemTemplate

D. Template

What is the correct answer?

4

Error handling can be done through Global.asax

A. True

B. False

What is the correct answer?

4

.FileInfo gives information about any file and .File gives information about a particular file

A. True

B. False

What is the correct answer?

4

.DirectoryInfo gives information about any Directory

A. True

B. False

What is the correct answer?

4

What namespace contains the classes for file and directory access?

A. System.IO

B. System.File.IO

C. System.Data

D. System.IO.Data

What is the correct answer?

4

Which of the following method must be overridden in a custom control?

A. The Paint() method

B. The Control_Build() method

C. The default constructor

D. The Render() method

What is the correct answer?

4

You want to ensure that the user ID is saved between requests when the user is moving through pages. What will you do?

A. Use Session variables

B. Use Application variables

C. Any one of the above

D. No of the above

What is the correct answer?

4

Radio Button's have same name and different values while Checkboxes have the reverse

A. True

B. False

What is the correct answer?

4

___________ controls how proxy servers temporarily store web pages

A. Expires

B. CacheControl

C. ExpiresAbsolute

D. None of the above

What is the correct answer?

4

Cookies can be created with mentioning the expiry date
True

A.

B. False

What is the correct answer?

4

In Global.asax there are _______ general methods

A. 5

B. 6

C. 7

D. 8

What is the correct answer?

4

What class does a Web Service Inherit?

A. System.Web.Services

B. System.Web

C. System.Services

D. System.Web.Page