Home
Current Affairs January 2024

What is the correct answer?

4

A single OLEDBAdapter can have many DataSets

A. True

B. False

Correct Answer :

A. True


Related Questions

What is the correct answer?

4

_________ actually updates the values in a DataSet permanently

A. OleDataAdapterq1.update(DataSet1,"emp")

B. DataSet1.Merge(DataSet1)

C. DataSet1.AcceptChanges()

D. DataSet1.Update()

What is the correct answer?

4

A MsgBox can have maximum ___________ button(s)

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

A form can not call itself

A. True

B. False

What is the correct answer?

4

To call a buttons click event use

A. Button1.Click

B. Button1.PerformClick

C. Button1.Clicked

D. None of the above

What is the correct answer?

4

To display multiple columns in ListView the View property must be set to

A. SmallIcon

B. LargeIcon

C. Details

D. List

What is the correct answer?

4

VB.NET supports Multi Level Inheritance

A. True

B. False

What is the correct answer?

4

A user wants that custom colors are visible when the Color Dialog Box is first Opened. What should he do?

A. Set AllowFullOpen to True

B. Set AnyColor to True

C. Set Open to True

D. Set FullOpen to True

What is the correct answer?

4

Finally is fired only when error occurs

A. True

B. False

What is the correct answer?

4

If an user-defined class have a user-defined event then, the class object is declared as

A. Dim c as new ClassName

B. Dim withEvents c as new ClassName

C. Dim c as ClassName

D. Dim withEvents c as ClassName

What is the correct answer?

4

On error goto lbl is a

A. Structured error

B. Unstructured error

What is the correct answer?

4

VB.NET does not support control arrays

A. True

B. False

What is the correct answer?

4

Only derived class can have shadows keyword

A. True

B. False

What is the correct answer?

4

Use a _________ statement to make Visual Basic object the default object for a set of enclosed Visual Basic statements.

A. With

B. Using

C. Import

D. Inherit

What is the correct answer?

4

To print use

A. PrintDialog1.Print()

B. PrintDocument1.Print()

C. Printer1.Print()

D. None of the above

What is the correct answer?

4

If Option Explicit is on then Dim i as Integer="10" will produce an error

A. True

B. False

What is the correct answer?

4

/*1. Class C
2. public mustinherit sub abc()
3. msgbox("Base Class")
4. end sub
5. end Class /* The error is in line no.

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

Images can be loaded from

A. Images.FromFile

B. BitMap.FromFile

C. System.FromFile

D. Both a and b

What is the correct answer?

4

dim arr(10) as string,
the max index of the array is

A. 9

B. 10

C. Can be >10 also

D. None of the above

What is the correct answer?

4

In OLEDB database can be accessed without using DataSet

A. True

B. False

What is the correct answer?

4

Default event handler of Splitter is

A. Splitter.Click

B. Splitter.Clicked

C. Splitter.Drag

D. None of the above

What is the correct answer?

4

DataSet can be used to connect to Crystal Report

A. True

B. False

What is the correct answer?

4

In ADODB the _____________ property is used to connect to the table

A. RecordSet

B. DataSource

C. RecordSource

D. Connection

What is the correct answer?

4

Dim a() as Integer-{1,2,3,4}is a valid statement

A. True

B. False

What is the correct answer?

4

A Windows Service if installed cannot be uninstalled

A. True

B. False

What is the correct answer?

4

If a button click event is to be fired when the user press the 'Esc' key, set the buttons name against forms _________ property

A. DefaultButton

B. AcceptButton

C. DialogResult

D. CancelButton

What is the correct answer?

4

To view Panels of a StatusBar set _________ to true

A. Panel

B. Panels

C. ShowPanel

D. ShowPanels

What is the correct answer?

4

Application.StartupPath actually points to

A. //ProjectName

B. //ProjectName/Bin

C. //ProjectName/Debug

D. //ProjectName/Bin/ProjectName.exe

What is the correct answer?

4

InputBox by default returns ________ values

A. Integer

B. Byte

C. Double

D. String

What is the correct answer?

4

A TreeView can have multiple root nodes

A. True

B. False

What is the correct answer?

4

FolderBrowserDialog displays

A. File

B. Folder

C. Drives

D. b and c