Learn About Windows Forms Application Development

These practice test questions from MeasureUp are based on the C# version of Microsoft’s exam 70-505: Microsoft .NET Framework 3.5 – Windows Forms Application Development .

The audience for this exam includes individuals who are responsible for developing Windows-based software applications. Experience using Visual Studio 2008 and .NET Framework 3.5 and in developing and deploying Windows-based applications will help you prepare for this exam.

Candidates who pass exam 70-505 earn credit toward three certifications:

•    MCTS: .NET Framework 3.5, Windows Forms Applications
•    MCPD: Windows Developer 3.5
•    MCPD: Enterprise Application Developer 3.5

MeasureUp offers practice tests for both the C# version and the VB version of exam

Objective: Integrate data in a Windows forms application.
Sub-objective: Implement data-bound controls.

Single answer, multiple-choice

You call a stored procedure that returns a row set containing data about parts for electronic devices. You load the part data into a DataSet instance named dataSet, which contains a single DataTable instance. The TableName property of the DataTable instance is set to Part.

You need to display the part data in a DataGridView control named dataGridView. Which code segment should you use?

A.    dataGridView.DataSource = dataSet; dataGridView.DataMember = "Part";
B.    dataGridView.DataSource = dataSet.Tables["Part"]; dataGridView.DataMember = "DataTable";
C.    dataGridView.DataSource = dataSet.Tables[0]; dataGridView.DataMember = "Part";
D.    dataGridView.DataSource = dataSet; dataGridView.DataMember = "TableName.Part";


You should set the DataGridView control's DataSource property to the DataSet instance and the DataMember property to Part. When you bind…



Posted in Uncategorized|


Powered by WebDesk