Home
Current Affairs January 2024

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

Correct Answer :

C. Both of the above


Related Questions

What is the correct answer?

4

In ___________ records are locked when you start editing.

A. LockReadOnly

B. LockPessimistic

C. LockOptimistic

D. LockDynamic

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

In ___________ records are locked when the update method is called

A. LockReadOnly

B. LockPessimistic

C. LockOptimistic

D. LockDynamic

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

What are unique properties of RangeValidator control?

A. Maximum value

B. Minimum value

C. Type

D. All of the above

What is the correct answer?

4

Cookies can be created with mentioning the expiry date
True

A.

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

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

A. True

B. False

What is the correct answer?

4

ASP.NET uses _______ as the code behind

A. VB

B. VBScript

C. JavaScript

D. Jscript

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

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

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

A. Get

B. Post

What is the correct answer?

4

____________ enables you to set a particular date when a page should no longer be cached by a browser or proxy server

A. Response.Expires

B. Session.Timeout

C. Response.ExpiresAbsolute

D. Response.CacheControl

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

File extension used for ASP.NET files.

A. .Web

B. .ASP

C. .ASPX

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

______________ 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

____________ enables you to add, modify and delete records but you won't see the changes made by other users

A. OpenForwardOnly

B. OpenKeyset

C. OpenDynamic

D. OpenStatic

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

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

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

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

To read an XML file from ASP.NET use

A. XMLTextReader

B. XMLReader

C. XML.Reader

D. ReadXML

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

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

One difference between ASP.NET and ASP is that ASP is more structure than ASP.NET

A. True

B. False

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

Anything appearing before ________ is cleared

A. Response.Flush

B. Response.End

C. Response.Buffer

D. Response.Clear