70-315  Exam

Exam # of questions Description  Update
70-315 209 70-315... 02/15/2011
[Practice Test]   [Download Study Guide(PDF)]  [Update Exam]

70-315 - Exam Information
  • Description:Developing and Implementing Web Applications with Microsoft Visual C# .NET
  • Passing Score:75%
  • Practice Test - Number of questions:209 questions
  • Simulation Test - Number of questions:209 questions
  • Simulation Test Duration:90 minutes
  • Has explanations:Yes

Question of the day

Your team builds a daily release of your new online loan processing application for testing by the quality assurance(QA) team. You find that the volume of bugs is threatening your project schedule. The following example is a typical bug: ? Unit tests reveal errors in the Dataset object. You need to write code that will handle errors in the DataSet object. You want to see the errors that may exist in any of the rows in the dataset. You have written the following code. (Line numbers are for reference only.) 01 Dim drErrors As DataRow, iIndex as Integer 02 If myDataSet.Tables("Table1").HasErrors Then 03 04 For iIndex = 0 to drErrors.GetUpperBound(0) 05 Console.WriteLine(drErrors(iIndex).RowError) 06 Next 07 End If Which of the following lines of code should reside on line 03? (Select the best choice.)

Answer(s)

  1. drErrors = myDataSet.Tables("Table1").GetErrors();
  2. drErrors = myDataSet.Clone();
  3. drErrors = myDataSet.Tables.Clone();
  4. drErrors = myDataSet.Clone.GetErrors();
Correct Answer

drErrors = myDataSet.Tables("Table1").GetErrors();