nerdexam
Microsoft

70-516 · Question #247

70-516 Question #247: Real Exam Question with Answer & Explanation

Sign in or unlock 70-516 to reveal the answer and full explanation for question #247. The question stem and answer options stay visible for context.

Question

You use Microsoft .NET Framework 4 to develop an application that connects to a Microsoft SQL Server 2008 database. You add the following stored procedure to the database. CREATE PROCEDURE dbo.GetClossAndStudents AS BEGIN SELECT * FROM ctoo.Class SELECT * FROM dbo.Student END You create a SqlConnection named conn that connects to the database. You need to fill a DataSet from the result that is returned by the stored procedure. The first result set must be added to a DataTable named Class, and the second result set must be added to a DataTable named Student. Which code segment should you use?

Options

  • ADim ds As DataSet = New DataSet()
  • BDim ds As DataSet = New DataSet()
  • CDim ds As DataSet = New DataSet()
  • DDim ds As DataSet = New DataSet()

Unlock 70-516 to see the answer

You've previewed enough free 70-516 questions. Unlock 70-516 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-516 Practice