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

White revolution is related to

A) Cotton production B) Flood control
C) Milk production D) Peace
 
Answer & Explanation Answer: C) Milk production

Explanation:
  • The White Revolution in India, also known as Operation Flood.

 

  • It was a plan of three phases by the National Dairy Development Board to revitalise India's dairy production until India became self-sufficient in milk.

 

  • The program was so successful that by 1998, India was the world's largest milk producer.
Report Error

View Answer Report Error Discuss

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

2 1754
Q:

Choose the odd one from the following:

A) ELEPHANT B) EAGLE
C) LEOPARD D) BAT
 
Answer & Explanation Answer: B) EAGLE

Explanation:
Report Error

View Answer Report Error Discuss

0 1754
Q:

Suryadhar lake is located in which state?

A) Rajasthan B) Uttarakhand
C) Chandigarh D) Uttar Pradesh
 
Answer & Explanation Answer: B) Uttarakhand

Explanation:

The Chief Minister of Uttarakhand, Trivendra Singh Rawat inaugurated the Suryadhar lake on Jakhan river at Doiwala, Dehradun, Uttarakhand on 29th November 2020.

 

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

0 1754
Q:

If the atomic number of Krypton is 36, then its electronic configuration is:

A) 2,8,18,8 B) 2,8,20,6
C) 2,18,16 D) 2,18,8,8
 
Answer & Explanation Answer: A) 2,8,18,8

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 1754
Q:

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

A) Oenophile B) Technophile
C) Romanophile D) Ergophile
 
Answer & Explanation Answer: D) Ergophile

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1754
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/Phrase.
Live from hand to mouth

A) Filthy rich people B) To be dependent on others
C) To have enough money to live on and nothing extra D) Living in miserable conditions.
 
Answer & Explanation Answer: C) To have enough money to live on and nothing extra

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1753
Q:

The swollen bottom part of the carpel in a flower is ______.

A) Ovary B) Style
C) Stigma D) Anther
 
Answer & Explanation Answer: A) Ovary

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Biology
Exam Prep: Bank Exams

1 1753