nerdexam
Microsoft

98-363 · Question #96

You work as an ADO.NET Application Developer for company Inc. The company uses Microsoft Visual Studio .NET 2008 as its application development platform. You create an ADO.NET application by using…

The correct answer is D. Use the Fill method of the DataAdapter class. See the full explanation below for the reasoning.

Question

You work as an ADO.NET Application Developer for company Inc. The company uses Microsoft Visual Studio .NET 2008 as its application development platform. You create an ADO.NET application by using .NET Framework 3.5. The application uses a Microsoft SQL Server database. You use DataSet control in the application. You want to add or refresh rows in the DataSet. You need to ensure that when you add or refresh row in the DataSet you will get number of rows that are successfully added or refreshed in the DataSet. What will you do to accomplish the task?

Options

  • AUse the Update method of the DataAdapter class.
  • BUse the RefreshSchema method of the DataAdapter class.
  • CUse the FillSchema method of the DataAdapter class
  • DUse the Fill method of the DataAdapter class.

How the community answered

(38 responses)
  • A
    8% (3)
  • B
    13% (5)
  • C
    3% (1)
  • D
    76% (29)

Community Discussion

No community discussion yet for this question.

Full 98-363 Practice