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

A sentence has been given in Direct/Indirect Speech. Out of the four given alternatives, select the one which best expresses the same sentence in Indirect/Direct Speech.

 

Gopal said to his friends, “Are you angry?”

 

A) Were they angry, asked Gopal. B) Gopal asked why they are angry.
C) Gopal asked them whether they are angry. D) Gopal asked his friends whether they were angry.
 
Answer & Explanation Answer: D) Gopal asked his friends whether they were angry.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1667
Q:

For which one of the following items Tiruppur is well known as a huge exporter to many parts of the world?

 

A) Gems and Jewellery B) Leather goods
C) Knitted garments D) Handicrafts
 
Answer & Explanation Answer: C) Knitted garments

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

17 1667
Q:

Populism had a lasting effect on

Answer

Populism had a lasting effect on the style of politics.

Report Error

View answer Workspace Report Error Discuss

Subject: Indian Politics Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk

2 1667
Q:

Whose recommendation is mandatory to impeach the President of India from his office before the completion of his/her term?

A) The Prime Minister B) The Speaker of the Lok Sabha
C) The Chief Justice of India D) The two houses of the parliament
 
Answer & Explanation Answer: D) The two houses of the parliament

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: CAT , Bank Exams , AIEEE

0 1667
Q:

In the following questions, a word has been written in four different ways out of which only one is correctly spelt. Select the correctly spelt word.

 

A) Preferred B) Prefereed
C) Prrefored D) Prefearred
 
Answer & Explanation Answer: A) Preferred

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

0 1666
Q:

Macroeconomics is the study of

A) behavior of economy B) performance of economy
C) changes in economy D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Macroeconomics is the study of overall aggregate changes, behavior and performance of the economy of the country i.e, unemployment, GDP, inflation, etc...

Report Error

View Answer Report Error Discuss

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

1 1666
Q:

A sentence has been given in Active/Passive Voice. Out of the four given alternatives, select the one which best expresses the same sentence inPassive/Active Voice.

Lily was making a fort.

A) Lily made a fort. B) A fort was being made by Lily.
C) A fort made by Lily. D) A fort got made by Lily.
 
Answer & Explanation Answer: B) A fort was being made by Lily.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 1666