Select from following answers:- Assign DbCommand to the SelectCommand property of a DbDataAdapter. Call the DbDataAdapter.Fill method.

- Assign DbCommand to the UpdateCommand property of a DbDataAdapter. Call the DbDataAdapter.Update method.
- Assign DbCommand to the SelectCommand property of a DbDataAdapter. Call the DbDataAdapter.Update method.
- All Above
Use the DbDataAdapter.Fill method to fill a DataSet (or DataTable) with the result set of the query executed by the command given by the DbDataAdapter.SelectCommand property.
Use the DbDataAdapter.Update method to propagate changes to a DataSet (or DataTable) back to the data source, not to fill a DataSet. This method does not use the DbDataAdapter.SelectCommand property.
Show Correct Answer
Source: MeasureUp.com | |
Alert Moderator