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

Who among the following has been awarded the ‘"Rajiv Gandhi Khel Ratna Award" for the year 2017?

A) Jitu Rai B) Jasvir Singh
C) Sardar Singh D) S.V. Sunil
 
Answer & Explanation Answer: C) Sardar Singh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Honours and Awards
Exam Prep: Bank Exams

0 1711
Q:

Samuel Gompers was a leading proponent of what industrial issue?

A) the formation of trusts B) the formation of labor unions
C) the crushing of labor unions D) vertical integration
 
Answer & Explanation Answer: B) the formation of labor unions

Explanation:

Samuel Gompers was a leading proponent of workers' rights. He was the first president of the American Federation of Labor, an organization that represented skilled workers from many different industries. Gompers advocated using collective bargaining or negotiations and strikes to gain greater rights for workers.

Report Error

View Answer Report Error Discuss

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

0 1711
Q:

Who has been sworn in as the new Attorney General of the United States?

A) Dick Thornburg B) William Barr
C) Edwin Meese D) Janet Reno
 
Answer & Explanation Answer: B) William Barr

Explanation:

The new Attorney General of the United States is William Barr from 2019.

Report Error

View Answer Report Error Discuss

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

0 1711
Q:

Red soil is normally found in India in which regions?

A) Eastern Region only B) Southern Region only
C) Eastern & Southern part of the Deccan Plateau D) None of these
 
Answer & Explanation Answer: C) Eastern & Southern part of the Deccan Plateau

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

0 1711
Q:

In the following question, out of the four alternatives, select the word opposite in meaning to the word given.
Churlish

A) Belittle B) Courteous
C) Fervent D) Uncouth
 
Answer & Explanation Answer: B) Courteous

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1711
Q:

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

Celestial

A) Heavenly B) Blessed
C) Hellish D) Holy
 
Answer & Explanation Answer: C) Hellish

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1711
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".

This book is adopted to the needs of beginners.

A) adapted to B) adapted for
C) adopted for D) No improvement
 
Answer & Explanation Answer: A) adapted to

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1711