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

Two trains start from a certain place on two parallel tracks in the same direction. The speed of the trains are 45 Km/hr and 40 Km/hr respectively. The distance between the two trains after 45 minutes will be

A) 2.5 km B) 2.75 km
C) 3.7 km D) 3.75 km
 
Answer & Explanation Answer: D) 3.75 km

Explanation:
Report Error

View Answer Report Error Discuss

0 1891
Q:

If 2x-2x=1 (x0), then the value of x3-1x3 is

A) 134 B) 138
C) 174 D) 178
 
Answer & Explanation Answer: B) 138

Explanation:
Report Error

View Answer Report Error Discuss

0 1891
Q:

.......... received the Polly Umrigar Award, and is the first Indian cricketer to get it on three occasions.

A) Virat Kohli B) Sachin Tendulkar
C) MS Dhoni D) Ravi Shastri
 
Answer & Explanation Answer: A) Virat Kohli

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: AIEEE , Bank Exams , CAT

3 1891
Q:

30 litres of salt solution contains 5% salt. How many litres of water must be added so as to get a resultant solution containing 3%salt?

A) 20 litres B) 25 litres
C) 30 litres D) 35 litres
 
Answer & Explanation Answer: A) 20 litres

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: Bank Exams

0 1891
Q:

A Phospholipid is a

Answer

A Phospholipid is a lipid molecule which has hydrophilic head and a hydrophobic tailand and is a main component in making of all cell membranes in which they two form a parallel layers called Phospholipid bilayer.

Report Error

View answer Workspace Report Error Discuss

Subject: Biology Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

2 1891
Q:

In the following questions, one part of the sentence may have an error. Find out which part of the sentence has an error and click the button corresponding to it. If the sentence is free from error, click the "No error" option.

1. He was

2. very kind enough

3. to invite me 

4. No Error.

A) 1 B) 2
C) 3 D) 4
 
Answer & Explanation Answer: B) 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 1891
Q:

In the following question, out of the four alternatives, select the alternative which best expresses the meaning of the idiom/phrase.

Cock and bull story

A) An implausible story used as an explanation or excuse. B) A fairy tale told down generations.
C) A story of animals with hidden morals. D) The meek can defeat the bully by being clever
 
Answer & Explanation Answer: A) An implausible story used as an explanation or excuse.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English

0 1890