Questions

Q:

You use Visual Studio .NET to develop a Windows-based application that interacts with a Microsoft SQL Server database. Your application contains a form named CustomerForm.

 You add the following design-time components to the form:

• SqlConnection object named XYZConnection.
• SqlDataAdapter object named XYZDataAdapter.
• DataSet object named XYZDataSet.
• Five TextBox controls to hold the values exposed by XYZDataSet.


At design time, you set the DataBindings properties of each TextBox control to the appropriate column in the DataTable object of XYZDataSet. When you test the application, you can successfully connect to the database. However, no data is displayed in any text boxes.

You need to modify your application code to ensure that data is displayed appropriately. Which behavior should occur while the CustomerForm.Load event handler is running?

A) Execute the BeginInit method of XYZDataSet. B) Execute the Open method of XYZConnection.
C) Execute the FillSchema method of XYZDataAdapter and pass in XYZDataSet. D) Execute the Fill method of XYZDataAdapter and pass in XYZDataSet.
 
Answer & Explanation Answer: D) Execute the Fill method of XYZDataAdapter and pass in XYZDataSet.

Explanation:

Dataset is a container; therefore, you need to fill it with data. You can populate a dataset by calling the Fill method of a data adapter.

Report Error

View Answer Report Error Discuss

1 1713
Q:

Todarmal was the famous revenue minister of which Mughal Emperor?

A) Shah Jahan B) Bahadur Shah Jafar
C) Akbar D) Aurangzeb
 
Answer & Explanation Answer: C) Akbar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

1 1713
Q:

Who among the following is associated as a head with the High-level Task Force on Public Credit Registry (PCR) formed by the Reserve Bank of India?

A) S Venkitaraman B) G. Ambegaokar
C) Yeshwant M. Deosthalee D) R S Gujral
 
Answer & Explanation Answer: C) Yeshwant M. Deosthalee

Explanation:

Reserve Bank of India (RBI) has formed a High-level Task Force on Public Credit Registry (PCR) for India which will be headed by Yeshwant M. Deosthalee.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

0 1713
Q:

What is the process of conversion of solid state directly to gaseous state called?

A) Evaporation B) Condensation
C) Sublimation D) Distillation
 
Answer & Explanation Answer: C) Sublimation

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

2 1712
Q:

An object is in static equilibrium when it is _______.

A) at rest B) moving in a circular path
C) moving with uniform velocity D) accelerating at high speed
 
Answer & Explanation Answer: A) at rest

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

1 1712
Q:

What kind of weather does a cold front usually bring

A) very hot B) heavy rain
C) cloudy D) normal
 
Answer & Explanation Answer: B) heavy rain

Explanation:

A cold front is defined as the transition zone where a cold air mass is replacing a warmer air mass. A cold front usually bring the temperature down by more than 15 deg and heavy rainfall with thundering and lighting.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

2 1712
Q:

A sentence has been given in Active/Passive Voice. Out of the four given alternatives, select the one which best expresses the same sentence in Passive/Active Voice.

 

She threw me into a ditch.

 

A) I was threw. B) I am threw by her into a ditch.
C) I was thrown into a ditch by her. D) I was thrown into a ditch.
 
Answer & Explanation Answer: C) I was thrown into a ditch by her.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1712
Q:

In the following question, out of the given four alternatives, select the one which is opposite in meaning of the given word.

 

Dainty

 

A) Clumsy B) Attractive
C) Light D) Rare
 
Answer & Explanation Answer: A) Clumsy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 1712