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 1751
Q:

The 1911 chinese revolution ended the rule of the

A) Mongolians B) Ming
C) Manchus D) Song
 
Answer & Explanation Answer: C) Manchus

Explanation:

It was the Qing Dynasty, who was a Manchu.

 

Hence, it was " the manchus" whose ruling ended after 1911 chinese revolution.

Report Error

View Answer Report Error Discuss

Filed Under: World History
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank PO

1 1751
Q:

Who is the author of the book Coming Round the Mountain?

A) Anish Kapoor B) Ruskin Bond
C) P C Ghose D) Veer Das
 
Answer & Explanation Answer: B) Ruskin Bond

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

7 1751
Q:

In the following question, some part of the sentence may have errors. Find out which part of the sentence has an error and select the appropriate option. If a sentence is free from error, select 'No Error'.

 

She chose (1)/ to stayed (2)/ there for a while. (3)/ No error (4)

 

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: B) 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1751
Q:

The question below consists of a set of labelled sentences. Out of the four options given, select the most logical order of the sentences to form a coherent paragraph.

P: This is despite the fact that there is a rampant migration of rural families to urban centres.
Q: Generally the gains of being a unit of the urban population are less than the disadvantages and risks that are inbuilt in the urban life.
R: Rural population still dominates the urban population as far as the number is considered.
S: India is a country of villages.

A) QRSP B) RPQS
C) SRQP D) QPRS
 
Answer & Explanation Answer: C) SRQP

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1751
Q:

The conversion of hard water into soft water by boiling or adding calcium hydroxide is called _______.

A) Baker's process B) Temp's process
C) Clarke's process D) Lake's process
 
Answer & Explanation Answer: C) Clarke's process

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

2 1751
Q:

Children especially in western countries who receive very little sunshine suffer from

A) rickets B) dermatitis
C) scurvy D) kwashiorkor
 
Answer & Explanation Answer: A) rickets

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 1751
Q:

SARAS PT1N, the new upgraded version of indigenous transport aircraft. SARAS has been developed by ______.

A) Hindustan Aeronautics Limited B) National Aeronautics Laboratory
C) Bharat Dynamics Limited D) Defence Research and Development Organisation
 
Answer & Explanation Answer: B) National Aeronautics Laboratory

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 1750