Home
Current Affairs January 2024

What is the correct answer?

4

To save an XML file from ASP.NET use

A. Save

B. Update

C. SaveXML

D. UpdateXML

Correct Answer :

A. Save


Related Questions

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

A ValidationSummary control is bound to a control

A. True

B. False

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

_________ is used to write/read into a leaf node

A. Value

B. InnerText

C. Text

D. InnerValue

What is the correct answer?

4

To open Microsoft Word from ASP.NET page use

A. Response.Content

B. Response.ContentType

C. Request.Content

D. Request.ContentType

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

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

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

To display HTML tags as it is use

A. Encode

B. HTMLEncode

C. URLEncode

D. EncodeHTML

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

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

Which of the following method must be overridden in a custom control?

A. The Paint() method

B. The Control_Build() method

C. The default constructor

D. The Render() method

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

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

You need to modify an ASP.NET page to prevent the browser window from going blank after a postback and to maintain the correct control focus after events are processed. What should you do?

A. Add the following attribute to the HTML code for the controls that cause the postbacks:
RunAt="client"

B. Add the following attribute to the HTML code for the controls that cause the postbacks:
EnableViewState="True"

C. Add the following attribute to the Page directive for the aspx file:
SmartNavigation="True"

D. Add the following attribute to the OutputCache directive for the aspx file:
Location="client

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

By default a WebForm inherits from

A. System.Web.Page

B. System.UI.Page

C. System.Web.UI.Page

D. System.Web.Form.Page

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

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

ASP.NET use

A. Compiler

B. Interpreter

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

In Global.asax there are _______ general methods

A. 5

B. 6

C. 7

D. 8

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

If passwords are to be sent from one page to another, we can use

A. Get method

B. Post method

C. Session variables

D. Any one 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

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

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

Default path for any web application is

A. .\Inetpub\Folder_name

B. .\Inetpub\www\Folder_name

C. .\Inetpub\wwwroot\Folder_name

D. .\Inetpub\mailroot\Folder_name

What is the correct answer?

4

ASP.NET can be installed on Windows 98 machine

A. True

B. False