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

Name the Indian squash player, who win Seattle Open title ?

A) Dipika Pallikal Karthik B) Saurav Ghosal
C) Ramit Tandon D) Janet Vidhi
 
Answer & Explanation Answer: C) Ramit Tandon

Explanation:
Report Error

View Answer Report Error Discuss

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

2 1886
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 1886
Q:

The State which produces largest number of orchids in India is

A) Assam B) Arunachal Pradesh
C) Meghalaya D) Sikkim
 
Answer & Explanation Answer: D) Sikkim

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: Bank Exams

3 1886
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 1886
Q:

An object having a capability to do work is said to possess __________.

A) force B) moment
C) momentum D) energy
 
Answer & Explanation Answer: D) energy

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

3 1886
Q:

To be eligible to contest election under the Haryana Panchayati Raj (Amendment) Act, 2015, a candidate should

1.have a functional toilet at home

2.have payment slips of power bills

3.not be a cooperative loan defaulter

4.have studied  minimum   matriculation irrespective of category.

Select the  correct  answer  using  the  code given below.

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

Explanation:

Following   are   the   qualifications which    have    to    be    met    for contesting    elections    under    the Haryana Panchayat raj:

For general  candidate  men  must  have passed   class   X,   class   VIII   for women   and   Scheduled   cast/ST, class    V    for    schedule    cast/ST women  for  elections  contesting  in the  Zila  Parishad,  Panchay  Samiti and   Post   of   the   Sarpanch.The candidate must have the functional toilet    in    his/her    home.There should  not  be  any  insolvency  or failure  to  pay  the  arrears  in  any case    such    as,    like    to    any cooperative  society,  any  bank  or electricity  bill.  The  candidate  must be clean in character likewise there should not be any charge sheet filed which  may  lead  to  imprisonment  of upto  10  years  against  the  candidate in   any   court   in   India.In   case   of Rajasthan,  the  candidate  must  not be the Leprosy Patient.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 1886
Q:

Which one of the following does not signify a battle tank?

A) T-55 B) T-155
C) T-72 D) T-90
 
Answer & Explanation Answer: B) T-155

Explanation:

T-55, T-72 and T-90 battle are USSR/Russian origin battle tanks and are respectively based on first, second and third generation battle tank technologies.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 1886