You create a DbCommand to execute a query. You need to populate a DataSet with the result set returned by this DbCommand.

What should you do?

 Posted by Rajkatie on 8/31/2012 | Category: ADO.NET Interview questions | Views: 5049 | Points: 40
Select from following answers:
  1. Assign DbCommand to the SelectCommand property of a DbDataAdapter. Call the DbDataAdapter.Fill method.
  2. Assign DbCommand to the UpdateCommand property of a DbDataAdapter. Call the DbDataAdapter.Update method.
  3. Assign DbCommand to the SelectCommand property of a DbDataAdapter. Call the DbDataAdapter.Update method.
  4. All Above

Show Correct Answer


Source: MeasureUp.com | | Alert Moderator 

Comments or Responses

Login to post response