Home
Current Affairs January 2024

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

Correct Answer :

A. RecordSet


Related Questions

What is the correct answer?

4

/*1. OleDataAdapterq1.update(DataSet1,"emp")
2. OleDataAdapterq1.update(DataSet1,"std")
3. DataSet1.Merge(DataSet1)
4. DataSet1.AcceptChanges()
/* The error is in line

A. 2

B. 4

C. 3

D. No Error

What is the correct answer?

4

The correct sequence of Form Loading is

A. Load

B. Initialize, Load, Activate

C. Initialize, Activate, Load

D. Activate, Initialize Load

What is the correct answer?

4

A thread can be started only once

A. True

B. False

What is the correct answer?

4

Structured and Unstructured exceptions can't be mixed

A. True

B. False

What is the correct answer?

4

Function abc() As String
Return 10
End Function

A. Will produce compilation error

B. Will produce runtime error

C. The function will execute normally

D. None of the above

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

If Scrollbars property of a TextBox is set to Hortizontal and the WordWrap property is also set to true. Which one will get precedence

A. Scrollbars

B. WordWrap

C. No precedence both will work

What is the correct answer?

4

Data from DataSet is accessed using34

A. Binding Obejct

B. BindContext Object

C. BindingContext Object

D. EndCurrentEdit Object

What is the correct answer?

4

Class cc
public _________ I as string
end class
Button1_Click
cc.I=100

A. Share

B. Shared

C. Global

D. Static

What is the correct answer?

4

A TreeView can have multiple root nodes

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

To view Panels of a StatusBar set _________ to true

A. Panel

B. Panels

C. ShowPanel

D. ShowPanels

What is the correct answer?

4

In TreeView to collapse all the nodes of a selected node ___________ method is used

A. CollapseAll

B. Collapse

C. Any one of the above

D. None of the above

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

To override Finalize function the scope of the function must be

A. Private

B. Public

C. Protected

D. Static

What is the correct answer?

4

The default location of the exe file of your solution is

A. ..../Project folder name

B. .../Project folder name/Bin

C. .../Project folder name/Debug

D. .../Project folder name/Debug/Bin

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

The SelectionMode property of a CheckedList Box can be set only to

A. One

B. MultiSimple

C. MultiExtended

D. None of the abvove

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

While handling keystrokes if e.Handled=True is set then Visual Basic

A. Will handle the key

B. Will not handle the key

C. Will send the key to Garbage collector

D. None of the above

What is the correct answer?

4

In TreeView to get the node the mouse is pointing to, use

A. GetNode

B. Node

C. GetNodeAt

D. SelectNode

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

A Windows Service if installed cannot be uninstalled

A. True

B. False

What is the correct answer?

4

You can assign a Main Menu to any control

A. True

B. False

What is the correct answer?

4

Using MyBase you can call base class

A. Constructor

B. Method

C. Variables

D. All of the above

What is the correct answer?

4

If a Class in inherited, its constructor is inherited automatically and it is fired automatically

A. True

B. False

What is the correct answer?

4

In reports ___________ property help to assign user-defined criteria

A. ReportSource

B. SectionFormula

C. Query

D. SelectionFormula

What is the correct answer?

4

VB.NET does not support control arrays

A. True

B. False

What is the correct answer?

4

Using OLEDB you can connect more than one table

A. True

B. False

What is the correct answer?

4

A function can have multiple return statements

A. True

B. False