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

With three eyes and as black as night, I frequently knock down ten men with a single strike! What am I?

Answer

A Bowling ball.

Report Error

View answer Workspace Report Error Discuss

Subject: Word Puzzles Exam Prep: TOEFL , GRE , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

0 1713
Q:

What was the goal of the temperance movement?

A) No alcohol B) No tobacco
C) Both A & B D) None of the above
 
Answer & Explanation Answer: A) No alcohol

Explanation:

The temperance movement of the late nineteenth and early twentieth centuries was an exception in many ways: "Temperance" refers to the moderate consumption of alcoholic beverages.

 

However, in the context of the temperance movement, the term usually indicated complete abstinence, which means drinking no alcohol at all. The goal of the temperance movement in the United States was to make the production and sale of alcohol illegal. Supporters believed that prohibiting alcohol would solve a number of society's problems, making people safer, healthier, and more productive.

Report Error

View Answer Report Error Discuss

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

0 1713
Q:

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

 

Temporal

 

A) Material B) Fleshly
C) Earthly D) Spiritual
 
Answer & Explanation Answer: D) Spiritual

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1713
Q:

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

 

to have a strong emotional effect on.

A) to smother B) to yield
C) to overwhelm D) to forfeit
 
Answer & Explanation Answer: C) to overwhelm

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1713
Q:

Taxes cannot be levied by the union government in India -

A) Tax on professions B) Service tax
C) Income tax D) All of the above
 
Answer & Explanation Answer: A) Tax on professions

Explanation:

Tax on professions cannot be levied by the union government in India.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

8 1713
Q:

In the following question, a sentence has been given in Active/Passive voice. Out of the four alternatives suggested, select the one which best
expresses the same sentence in Passive/Active voice.
I have a feeling that you are keeping a secret.

A) I have a feeling that keeping of a secret is being done by you. B) I have a feeling that a secret is being kept by you.
C) Feeling has been had by me that a secret was kept by you. D) I myself had a feeling that a secret had been kept by you.
 
Answer & Explanation Answer: B) I have a feeling that a secret is being kept by you.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 1713
Q:

The potential difference between the terminals of an electric heater is 60 V when it draws a current of 4 A from the source. What current will the heater draw if the potential difference is increased to 127.5 V ?

A) 8.5 A B) 24 A
C) 10 A D) 12 A
 
Answer & Explanation Answer: A) 8.5 A

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: GATE , CAT , Bank Exams , AIEEE

1 1713