Home
Current Affairs January 2024

What is the correct answer?

4

To read an XML file from ASP.NET use

A. XMLTextReader

B. XMLReader

C. XML.Reader

D. ReadXML

Correct Answer :

A. XMLTextReader


Related Questions

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

What is the correct answer?

4

For Adrotator control the XML file is mentioned through ________ property

A. File

B. Name

C. Advertisement File

D. Ad File

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

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

If a page name is WebForm1.aspx and it resides in ../Test/, then it will inherit from

A. WebForm1

B. WebForm1/Test

C. Test/WebForm1

D. Test.WebForm1

What is the correct answer?

4

What keyword is necessary to expose a public function as a method of a Web Service?

A. WebSub()

B. WebFunction()

C. WebMethod()

D. WebClass

What is the correct answer?

4

In ASP.NET if a file is saved, it is save only in the server machine.

A. True

B. False

What is the correct answer?

4

ASP.NET if fully compatible with ASP

A. True

B. False

What is the correct answer?

4

Anything appearing after ________ is cleared

A. Response.Flush

B. Response.End

C. Response.Buffer

D. Response.Clear

What is the correct answer?

4

Anything appearing before ________ is cleared

A. Response.Flush

B. Response.End

C. Response.Buffer

D. Response.Clear

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

A ValidationSummary control is bound to a control

A. True

B. False

What is the correct answer?

4

CDONTS is designed on for Windows NT Server

A. True

B. False

What is the correct answer?

4

To write a root tag say '<details>' through ASP.NET use

A. WriteElement

B. WriteStartElement

C. WriteElementString

D. WriteElementStart

What is the correct answer?

4

In case of a CompareValidator, a TextBox's value can be compared to an expression

A. True

B. False

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

What is the correct answer?

4

______________ creates a read-only recordset that can scroll in any direction.

A. OpenForwardOnly

B. OpenKeyset

C. OpenDynamic

D. OpenStatic

What is the correct answer?

4

Can you have more than one form declaration on a web form?

A. Yes

B. No

What is the correct answer?

4

Why is Global.asax is used?

A. Declare Global variables

B. Implement application and session level events

C. No use

D. Both a and b

What is the correct answer?

4

In case of RangeValidator, a TextBox's value can be compared to the values taken from two other TextBoxes

A. True

B. False

What is the correct answer?

4

You can specify a function name in

A. CustomValidator

B. RequiredFieldValidator

C. RangeValidator

D. ValidationSummary

What is the correct answer?

4

You have an image that is clickable and you want a pop-up window to display text that identifies the action that will be taken if the user clicks the image. What will you do?

A. For each image, set the AlternateText property to specify the text you want to display, and set the ToolTip property to True.

B. For each image, set the ToolTip property to specify the text you want to display.

C. In the onmouseover event handler for each image, add code that calls the RaiseBubbleEvent() method of the System.Web.UI.WebControls.Image class.

D. In the onmouseover event handler for each image, add code that calls the ToString() method of the System.Web.UI.WebControls.Image class.

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

What is the default data type of a variable in ASP.NET?

A. Variant

B. Object

C. Integer

D. String

What is the correct answer?

4

Default scripting language in ASP.

A. EcmaScript

B. VBScript

C. PERL

D. JavaScript

What is the correct answer?

4

You can send an e-mail with an attachment using only SmtpMail class

A. True

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

____________ converts virtual path to default path

A. Server.MapPath and Request.MapPath

B. Server.MapPath and Response.MapPath

C. Response.MapPath and Request.MapPath

D. All 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

The default method of a WebForm is

A. Page_Load

B. WebForm_Load

C. Form_Load

D. Page_Init