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

Tashkent Agreement was signed on

A) 11 Jan B) 10 Jan
C) 12 Jan D) 9 Jan
 
Answer & Explanation Answer: B) 10 Jan

Explanation:

Tashkent Agreement was signed by India’s Prime Minister Lal Bahadur Shastri & Pakistan’s President Ayub Khan on 10 January in 1966 that resolved the Indo-Pak War of 1965. Shastri died in Tashkent, the day after signing the Tashkent Declaration.

Report Error

View Answer Report Error Discuss

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

5 1592
Q:

The Chief Financial Officer for a city is called the

A) City Controller B) Mayor Council
C) Concil Manager D) None of the above
 
Answer & Explanation Answer: A) City Controller

Explanation:

The Chief Financial Officer for a city is called the City Controller.

Report Error

View Answer Report Error Discuss

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

3 1591
Q:

Who has been appointed the new CEO of the International Cricket Council (ICC)?

A) Anurag Thakur B) Manu Sawhney
C) N. Srinivasan D) Dave Richardson
 
Answer & Explanation Answer: B) Manu Sawhney

Explanation:

Manu Sawhney, the former CEO of Singapore Sports Hub and Managing Director of ESPN Star Sports has been appointed as The International Cricket Council.

Report Error

View Answer Report Error Discuss

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

3 1591
Q:

Who has won the Men's & Women's singles event at the 83rd Senior National Badminton Championships 2019?

A) Parupalli Kashyap & Saina Nehwal B) Sourabh Verma & Elise Merten
C) Sourabh Verma & Saina Nehwal D) Parupalli Kashyap & Elise Merten
 
Answer & Explanation Answer: C) Sourabh Verma & Saina Nehwal

Explanation:
Report Error

View Answer Report Error Discuss

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

0 1591
Q:

Which of the following is not an example of Allotrope?

A) Diamond B) Graphite
C) Ozone D) Steel
 
Answer & Explanation Answer: D) Steel

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

1 1591
Q:

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

A) Anxiety B) Believe
C) Height D) Peity
 
Answer & Explanation Answer: D) Peity

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1591
Q:

The appointments Committee of the Cabinet extended the tenure of ____ as Chairman, Railway Board, by two years with effect from 1st August 2016.

A) S.K. Roy B) Arunendra Kumar
C) Deepak Gupta D) A.K. Mittal
 
Answer & Explanation Answer: D) A.K. Mittal

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: CAT , Bank Exams
Job Role: Bank PO , Bank Clerk

1 1591