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

.......... received the Polly Umrigar Award, and is the first Indian cricketer to get it on three occasions.

A) Virat Kohli B) Sachin Tendulkar
C) MS Dhoni D) Ravi Shastri
 
Answer & Explanation Answer: A) Virat Kohli

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: AIEEE , Bank Exams , CAT

3 1891
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'.

Entrance exams for the(A)/posts of associate professors(B)/will begin from Tuesday.(C)/No error

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

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1891
Q:

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

A) Pertinacious B) Demarcation
C) Temperament D) Sureptitious
 
Answer & Explanation Answer: D) Sureptitious

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1891
Q:

In the following question, out of the four alternatives, choose the word which is opposite in meaning to the given word and click the button corresponding to it.

TREACHERY

A) BETRAYAL B) MULING
C) LOYALTY D) REBELLION
 
Answer & Explanation Answer: C) LOYALTY

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1891
Q:

Out of the four alternatives, choose the one which can be substituted for the given words/sentences and click the button corresponding to it.

An act of travelling from one place to another

A) Series B) Journey
C) Sequence D) Programme
 
Answer & Explanation Answer: B) Journey

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1891
Q:

A sentence/a part of the sentence is underlined. Four alternatives are given to the underlined part which will improve the sentence. Choose the correct alternative and click the button corresponding to it. In case no improvement is needed, click the button corresponding to "No improvement".

Can you believed this is the same old and the dilapidated house I had bought last year?

A) Can you not believe this is the same old and the dilapidated house that I buy last year? B) Can you believe this is the same old and the same dilapidated house I have bought last year?
C) Can you believe this is the same old and dilapidated house I had bought last year? D) No improvement
 
Answer & Explanation Answer: C) Can you believe this is the same old and dilapidated house I had bought last year?

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1890
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

 

blood is thicker than water

A) relations are more important than merit B) all crimes are not equal so punishment for murder is not same as that of theft
C) family relationships and loyalties are the strongest and most important ones D) deceit from a family member hurts more than being cheated by strangers
 
Answer & Explanation Answer: C) family relationships and loyalties are the strongest and most important ones

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1890