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

Indian Women’s hockey team secured which of the following position in Asian Champions Trophy 2013?

A) First B) Second
C) Third D) Fourth
 
Answer & Explanation Answer: B) Second

Explanation:

Indian Women’s hockey team secured second position in Asian Champions Trophy 2013.

Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

5 1853
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the words/sentence.

Not able to produce children

A) Gravid B) Hebetic
C) Fecund D) Sterile
 
Answer & Explanation Answer: D) Sterile

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1853
Q:

Select the word with the correct spelling.

A) anteques B) carotane
C) scewl D) apoplexy
 
Answer & Explanation Answer: D) apoplexy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1853
Q:

In the following question, a sentence has been given in Direct/Indirect speech. Out of the four alternatives suggested, select the one which best expresses the same sentence in Indirect/Direct speech.

My friend said to me, "I am willing to help you on a condition."

A) My friend said to me that he is willing to help me on a condition. B) My friend said to me that he has had been willing to help me on a condition.
C) My friend said to me that he has been willing to help me on a condition. D) My friend said to me that he was willing to help me on a condition.
 
Answer & Explanation Answer: D) My friend said to me that he was willing to help me on a condition.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 1853
Q:

Which among the following is not an input device?

A) Plotter B) Magnetic Ink Character Recognition (MICR)
C) Optical Mark Recognition (OMR) D) Barcode Reader
 
Answer & Explanation Answer: A) Plotter

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

3 1853
Q:

Which leader of British Labour Party was recently elected the first Muslim Mayor of London?

A) Sadiq Khan B) Ataullah Khan
C) Firdauz Zaidi D) Karim Shaikh
 
Answer & Explanation Answer: A) Sadiq Khan

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

1 1852
Q:

In the following question, out of the four alternatives, select the alternative which is the best substitute of the words/sentence.

 

A remarkable concurrence of events or circumstances without apparent causal connection

 

A) Jangle B) Coincidence
C) Clamour D) Clinker
 
Answer & Explanation Answer: B) Coincidence

Explanation:
Report Error

View Answer Report Error Discuss

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

0 1852