Home
Current Affairs January 2024

What is the correct answer?

4

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

A. DataSource

B. DataMember

C. ItemTemplate

D. Template

Correct Answer :

D. Template


Related Questions

What is the correct answer?

4

If someone accidentally deletes the Page Directive of an ASP.NET page say "First.aspx" under "Sales", what will you do?

A. <%@ Page Language="vb" Codebehind="FirstQuarter.aspx.vb" Inherits="FirstQuarter"%>

B. <%@ Page Language="vb" Codebehind="FirstQuarter.aspx.vb" ClassName="Sales.FirstQuarter"%>

C. <%@ Page Language="vb" Codebehind="FirstQuarter.aspx.vb" Inherits="Sales.FirstQuarter"%>

D. <%@ Page Language="vb" Codebehind="FirstQuarter.aspx.vb" ClassName="Sales.FirstQuarter" Inherits="FirstQuarter"%>

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

___________ controls how proxy servers temporarily store web pages

A. Expires

B. CacheControl

C. ExpiresAbsolute

D. None of the above

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

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 ASP.NET, the default method of a form is

A. Get

B. Post

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

____________ 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

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

The HTML control that helps to browse a file is

A. File

B. FileBrowser

C. Browser

D. Select

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

CDONTS is designed on for Windows NT Server

A. True

B. False

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

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

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

The default method of a WebForm is

A. Page_Load

B. WebForm_Load

C. Form_Load

D. Page_Init

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

To read an XML file from ASP.NET use

A. XMLTextReader

B. XMLReader

C. XML.Reader

D. ReadXML

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

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

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

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

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

Attribute must be set on a validator control for the validation to work.

A. ControlToValidate

B. ControlToBind

C. ValidateControl

D. Validate

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

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

A. True

B. False

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

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

A. True

B. False

What is the correct answer?

4

This file stores your web configuration

A. Web.conf

B. Web.config

C. WebConfig.ini

D. WebConf.ini