Home
Current Affairs January 2024

What is the correct answer?

4

Default event handler for Link Label is

A. LinkClicked

B. Clicked

C. LinkActivated

D. ActiveLinkClicked

Correct Answer :

A. LinkClicked


Related Questions

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

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

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

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

A. True

B. False

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

In ASP.NET a page is inherited from System.Web.UI.Page. Here UI means

A. Universal Indicator

B. Uniform Indicator

C. User Interface

D. Universal Interface

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

____________ 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

CDO stands for _________________ .

A. Collaborative Database Object

B. Collaborative Data Object

C. Collaborative Distributed Object

D. Complete Data Object

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

This file stores your web configuration

A. Web.conf

B. Web.config

C. WebConfig.ini

D. WebConf.ini

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

___________ sets the time out period for a particular page in seconds

A. Session.Timeout

B. Server.ScriptTimeout

C. Response.Expires

D. Response.ExpiresAbsolute

What is the correct answer?

4

The HTML control that helps to browse a file is

A. File

B. FileBrowser

C. Browser

D. Select

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

Which of the following object is not an ASP component?

A. LinkCounter

B. Counter

C. AdRotator

D. File Access

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

If a Table controls name is Table1, to access value from its second row, third column, __________________ can be used.

A. table1.rows(1).cells(2).text

B. table1.rows(2).cells(3).text

C. table1.rows(1).cells(2).value

D. table1.rows(2).cells(3).value

What is the correct answer?

4

While accessing values submitted to a web form, __________ property of a control is used.

A. Value

B. Text

C. Item

D. Id

What is the correct answer?

4

To set text programmatically without adding extra HTML tags use

A. Literal

B. Response.Write

C. Both of the above

D. None of the above

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

You can specify a function name in

A. CustomValidator

B. RequiredFieldValidator

C. RangeValidator

D. ValidationSummary

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

ASP.NET can be installed on Windows 98 machine

A. True

B. False

What is the correct answer?

4

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

A. Response

B. Request

C. Session

D. Application

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

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

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

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

A. WebSub()

B. WebFunction()

C. WebMethod()

D. WebClass