MCSD.NET - 70-306 Exam Question:
Download Questions PDF

Suppose You develop a Windows-based application XYZApp that includes several menus. Every top-level
menu contains several menu items, and certain menus contain items that are mutually exclusive.
You decide to distinguish the single most important item in each menu by changing its caption
text to bold type.
What should you do?
A. Set the DefaultItem property to True.
B. Set the Text property to ?<b>True</b>?.
C. Set the Checked property to True.
D. Set the OwnerDraw property to True.

Answer:

A. Set the DefaultItem property to True.

Download MCSD.NET - 70-306 Exam Interview Questions And Answers PDF

Previous QuestionNext Question
Suppose You execute a query on your external Oracle database named XYZSalesDate by using an
OleDbCommand object. The query uses the Average function to return a single value that
represents the average price of products in the inventory table. You want to optimize performance
when you execute this query.
To execute this query from your ADO.NET code, you need to use a method of the
OleDbCommand object. Which method should you use?
A. ExecuteNonQuery
B. ExecuteScalar
C. ToString
D. ExecuteReader
Suppose You use Visual Studio .NET to create a Windows-based application for XYZ Inc. The application
includes a form that contains several controls, including a button named exitButton. After you
finish designing the form, you select all controls and then select Lock Controls from the Format
menu.
Later, you discover that exitButton is too small. You need to enlarge its vertical dimension with
the least possible effort, and without disrupting the other controls.
First you select exitButton in the Windows Forms Designer. What should you do next?
A. Set the Locked property to False.
Set the Size property to the required size.
Set the Locked property to True.
B. Set the Locked property to False.
Use the mouse to resize the control.
Set the Locked property to True.
C. Set the Size property to the required size.
D. Use the mouse to resize the control.