Home
Current Affairs January 2024

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

Correct Answer :

A. MailAttachment and MailMessage


Related Questions

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

____________ enables you to add, modify and delete records and you will see the changes made by other users

A. OpenForwardOnly

B. OpenKeyset

C. OpenDynamic

D. OpenStatic

What is the correct answer?

4

RadioButtonsLists __________ property is used to add RadioButtons at runtime

A. Items

B. Collection

C. AddItem

D. None of the above

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

.DirectoryInfo gives information about any Directory

A. True

B. False

What is the correct answer?

4

ASP.NET if fully compatible with ASP

A. True

B. False

What is the correct answer?

4

In ___________ records are read-only and cannot be changed.

A. LockReadOnly

B. LockPessimistic

C. LockOptimistic

D. LockDynamic

What is the correct answer?

4

To pass queries to Crystal Reports use

A. SelectionFormula

B. Formula

C. Filter

D. None of the above

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

.FileInfo gives information about any file and .File gives information about a particular file

A. True

B. False

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

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

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

A. Session

B. Request

C. Response

D. Server

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

___________ 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

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

Menus can be added to an ASP.NET Page

A. True

B. False

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

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

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

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

A. DataSource

B. DataMember

C. ItemTemplate

D. Template

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

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

____________ 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

Of the following controls which can be used to add a control at runtime

A. Panel

B. Image

C. Label

D. All of the above

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

Which DLL translate XML to SQL in IIS?

A. SQLISAPI.dll

B. SQLXML.dll

C. LISXML.dll

D. SQLIIS.dll

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

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

A. True

B. False

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