Online Access Free 70-511 Exam Questions
| Exam Code: | 70-511 |
| Exam Name: | TS: Windows Applications Development with Microsoft .NET Framework 4 |
| Certification Provider: | Microsoft |
| Free Question Number: | 288 |
| Posted: | Jul 22, 2026 |
You use Microsoft .NET Framework 4 to create a Windows Forms application. You have a dataset as shown in the following exhibit.
---
You plan to add a DataGridView to display the dataset.
You need to ensure that the DataGridView meets the following requirements:
Shows Order Details for the selected order. Shows only Order Details for items that have UnitPrice greater than 20 Sorts Products by ProductName
Which code segment should you use?
You are developing a Windows Presentation Foundation (WPF) application.
There is an issue in the display of Label. When you open the WPF Visualizer, you see the following information in the left-hand panel of the Visualizer.
You need to identify the XAML markup for the Label control that caused the issue. Which markup segment corresponds to the Label control?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment to bind a customer object to several controls in a window.
<TextBox Text="{Binding Path=CustomerName}" Name="textBoxl" />
When the application executes, you receive the following error message:
"System.Windows.Data Error: 35: BindingExpression path error: 'CustomerName' property not found on 'object' "Customer" (HashCode=22613453)' BindingExpression:Path=CustomerName; DataItem='Customer' (HashCode=22613453); target element is 'TextBox' (Name='textBoxl')target property is 'Text' (type 'String')"
You need to identify the source of the error.
What should you do?
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application displays a list of books.
You write the following code fragment. (Line numbers are included for reference only.)
You need to ensure that book titles that are out of stock appear in red.
Which code fragment should you insert at line 12?