Home
Current Affairs January 2024

What is the correct answer?

4

This tag in Repeater control is mandatory

A. AlternateTemplate

B. ItemTemplate

C. SeperatorTemplate

D. FooterTemplate

Correct Answer :

B. ItemTemplate


Related Questions

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

A ValidationSummary control is bound to a control

A. True

B. False

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

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

To send attachments using SMTP use

A. MailAttachment and MailMessage

B. CDO

C. Any one of the above

D. None of the above

What is the correct answer?

4

HTML tag equivalent to Panel is

A. Div

B. Br

C. P

D. Span

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

Choose the form in which Postback occur

A. HTMLForms

B. Webforms

C. Winforms

D. None of these

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

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

__________.CreateObject("ADODB.Connection") creates a new connection.

A. Session

B. Request

C. Response

D. Server

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

Default event handler for Link Label is

A. LinkClicked

B. Clicked

C. LinkActivated

D. ActiveLinkClicked

What is the correct answer?

4

CDONTS is designed on for Windows NT Server

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

HTML elements, HTML server controls and ASP.NET server controls can be used on the same form

A. True

B. False

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

To count the number of times an user visited a page, use

A. Session variables

B. Application variables

C. Cookies

D. Server variables

What is the correct answer?

4

ASP.NET use

A. Compiler

B. Interpreter

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

In ___________ records are locked when the update method is called

A. LockReadOnly

B. LockPessimistic

C. LockOptimistic

D. LockDynamic

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

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

A. Get

B. Post

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

Anything appearing before ________ is cleared

A. Response.Flush

B. Response.End

C. Response.Buffer

D. Response.Clear

What is the correct answer?

4

There can be more than one Global.asax file

A. True

B. False

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 write a root tag say '<details>' through ASP.NET use

A. WriteElement

B. WriteStartElement

C. WriteElementString

D. WriteElementStart

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

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

A. DataSource

B. DataMember

C. ItemTemplate

D. Template