Home
Current Affairs January 2024

What is the correct answer?

4

We can write an XML document from ASP.NET without mentioning the encoding format ie even without specifying 'Nothing'

A. True

B. False

Correct Answer :

B. False


Related Questions

What is the correct answer?

4

ASP.NET can be installed on Windows 98 machine

A. True

B. False

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

We can manage states in asp.net application using

A. Session Objects

B. Application Objects

C. Viewstate

D. All of the above

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

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

A. True

B. False

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

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

A. True

B. False

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

A ValidationSummary control is bound to a control

A. True

B. False

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

This tag in Repeater control is mandatory

A. AlternateTemplate

B. ItemTemplate

C. SeperatorTemplate

D. FooterTemplate

What is the correct answer?

4

Default path for any web application is

A. .\Inetpub\Folder_name

B. .\Inetpub\www\Folder_name

C. .\Inetpub\wwwroot\Folder_name

D. .\Inetpub\mailroot\Folder_name

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

To read an XML file from ASP.NET use

A. XMLTextReader

B. XMLReader

C. XML.Reader

D. ReadXML

What is the correct answer?

4

This file stores your web configuration

A. Web.conf

B. Web.config

C. WebConfig.ini

D. WebConf.ini

What is the correct answer?

4

This control does not produce an HTML output

A. Panel

B. Literal

C. PlaceHolder

D. DataList

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

In a DataSet if multible tables are used, they are identified by their

A. Names

B. Indexes

C. Any one of the above

D. None of the above

What is the correct answer?

4

Cookies collection is present in

A. Response and Request

B. Request and Server

C. Response and Server

D. All of the above

What is the correct answer?

4

Which DLL translate XML to SQL in IIS?

A. SQLISAPI.dll

B. SQLXML.dll

C. LISXML.dll

D. SQLIIS.dll

What is the correct answer?

4

To make an HTML control behave as a Server control, ___________ option must be set.

A. Server Control

B. Run As Server Control

C. Run As Web Control

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

Of the following controls which can be used to add a control at runtime

A. Panel

B. Image

C. Label

D. All of the above

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

How can you check if the page is visited for the first time

A. Use PostBack

B. Use IsPostBack

C. Use Post

D. Use Get

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

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

A. Yes

B. No

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

_________ is used to write/read into a leaf node

A. Value

B. InnerText

C. Text

D. InnerValue