Home
Current Affairs January 2024

What is the correct answer?

4

A DataSet can be updated only when the connection is open

A. True

B. False

Correct Answer :

B. False


Related Questions

What is the correct answer?

4

The default event handler of TextBox is

A. KeyPress

B. Changed

C. TextChanged

D. Validating

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

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

A function can have multiple return statements

A. True

B. False

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 form can have only one default button

A. True

B. False

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

/*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

Application.StartupPath actually points to

A. //ProjectName

B. //ProjectName/Bin

C. //ProjectName/Debug

D. //ProjectName/Bin/ProjectName.exe

What is the correct answer?

4

Only derived class can have shadows keyword

A. True

B. False

What is the correct answer?

4

If a Form is Inherited from another Form and both Forms have certain codes in their respective Form_Load event, then while running the program

A. Only the first Forms code will be executed

B. Only the second Forms code will be executed

C. Both Forms code will be executed

D. None of the above

What is the correct answer?

4

DomainUpDown control is used only for strings and NumericUpDown for numbers.

A. True

B. False

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

A DataSet can hold multiple tables even if there are similar fields

A. True

B. False

What is the correct answer?

4

In HelpProvider ___________ property is used to mention the help file name

A. HelpFileName

B. FileName

C. HelpNamespace

D. Name

What is the correct answer?

4

This view is not present in VB.NET

A. Project Explorer

B. Class View

C. Resource View

D. Server Explorer

What is the correct answer?

4

The EventLog's ________ method is used to write an entry to a log file

A. WriteLine

B. WriteEntry

C. Add

D. Append

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 you want to open a file named "a.txt" use

A. System.diagnostics.Start("a.txt")

B. System.Start("a.txt")

C. System.diagnostics.Process.Start("a.txt")

D. System.Process.Start("a.txt")

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

Using MyBase you can call base class

A. Constructor

B. Method

C. Variables

D. All of the above

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

A TreeView can have multiple root nodes

A. True

B. False

What is the correct answer?

4

The Apply button automatically appears of the Font Dialog Box is opened

A. True

B. False

What is the correct answer?

4

VB.NET supports Multi Level Inheritance

A. True

B. False

What is the correct answer?

4

Finally is fired only when error occurs

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

A form can have only ______ Main Menu and _________ Context Menu

A. 1,1

B. 1,Multiple

C. Multiple,1

D. 1,2

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

_________ actually updates the values in a DataSet permanently

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

B. DataSet1.Merge(DataSet1)

C. DataSet1.AcceptChanges()

D. DataSet1.Update()