Home
Current Affairs January 2024

What is the correct answer?

4

To write an attribute for a tag through ASP.NET use

A. WriteAttribute

B. WriteStartAttribute

C. WriteAttributeString

D. WriteElementString

Correct Answer :

C. WriteAttributeString


Related Questions

What is the correct answer?

4

To redirect an user to a particular page when a user logs in use

A. Use Response.Redirect in Session_Start event of Global.asax file

B. Use Response.Redirect in Application_Start event of Global.asax file

C. Use Server.MapPath in Session_Start event of Global.asax file

D. Use Server.MapPath in Application_Start event of Global.asax file

What is the correct answer?

4

An error handling is Structured when we use

A. On Error GoTo

B. Try Catch

C. Both of the above

D. Any one of the above

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

______________ creates a read-only recordset that can scroll forward only.

A. OpenForwardOnly

B. OpenKeyset

C. OpenDynamic

D. OpenStatic

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 used to validate complex string patterns like an e-mail address?

A. Extended expressions

B. Basic expressions

C. Regular expressions

D. Irregular expressions

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

ASP.NET if fully compatible with ASP

A. True

B. False

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

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 is object oriented

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

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 read an XML file from ASP.NET use

A. XMLTextReader

B. XMLReader

C. XML.Reader

D. ReadXML

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

Options available with SelectionMode are

A. Single

B. Single and Multiple

C. Single, Multiple and Extended

D. All of the above

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

How do we create a FileSystemObject?

A. Server.CreateObject("Scripting.FileSystemObject")

B. Create("FileSystemObject")

C. Create Object:"Scripting.FileSystemObject"

D. Server.CreateObject("FileSystemObject")

What is the correct answer?

4

Default event handler for Link Label is

A. LinkClicked

B. Clicked

C. LinkActivated

D. ActiveLinkClicked

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

The code file for WebForm1.aspx will be ___________

A. WebForm1.vbp

B. WebForm1.vb

C. WebForm1.frm

D. WebForm1.sln

What is the correct answer?

4

__________ and __________ event are the two most commonly supported server-side events. (Click and Change)

A. Click and Change

B. Click and DblClick

C. KeyUp and KeyDown

D. KeyEnter and KeyPress

What is the correct answer?

4

A ValidationSummary control is bound to a control

A. True

B. False

What is the correct answer?

4

_________ object represents all information sent form a browser to a server

A. Response

B. Request

C. Session

D. Application

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 DataSet can be generated from

A. Page and DataConnection Object

B. DataAdapter and Page Object

C. DataAdapter and DataConnection Object

D. All of the above

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

ASP.NET can be installed on Windows 98 machine

A. True

B. False

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

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