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

Who was the first Viceroy of India?

A) Lord Canning B) Lord Curzon
C) Lord Wavell D) Lord Mountbatten
 
Answer & Explanation Answer: A) Lord Canning

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

1 1719
Q:

The statue of Dr. APJ Abdul Kalam that was unveiled at his Rameswaram memorial by Prime Minister Modi depicts him playing which musical instrument?

A) Tabla B) Violin
C) Mridangam D) Veena
 
Answer & Explanation Answer: D) Veena

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

2 1719
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'.


I asked the shopkeeper (A)/"Do you have change(B)/for a five hundred rupees note?"(C)/No error(D)

A) A B) B
C) C D) D
 
Answer & Explanation Answer: C) C

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: GRE , CAT , Bank Exams , AIEEE

0 1718
Q:

In each of the questions, four alternatives are given for the Idiom/Phrase. Choose the alternative which best expresses the meaning of the Idiom/Phrase and click the button corresponding to it.

grease the palm

A) dirty one's hands B) work in a garage
C) slip and fall D) bribe
 
Answer & Explanation Answer: D) bribe

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1718
Q:

In the following question, four words are given out of which one word is correctly spelt. Select the correctly spelt word.

A) Stoically B) Stoicaly
C) Stoecally D) Stoecaly
 
Answer & Explanation Answer: A) Stoically

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1718
Q:

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

Deathly

 

A) Wasted B) Blooming
C) Horrible D) Sick
 
Answer & Explanation Answer: B) Blooming

Explanation:
Report Error

View Answer Report Error Discuss

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

0 1718
Q:

For which of the following game, players must have the knowledge of Pascal's law?

A) Climbing B) Paragliding
C) Rafting D) Scuba diving
 
Answer & Explanation Answer: D) Scuba diving

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

3 1718