Udostępnij za pośrednictwem


Manipulating Data in a DataTable 

After creating a DataTable in a DataSet, you can perform the same activities that you would when using a table in a database. You can add, view, edit, and delete data in the table; you can monitor errors and events; and you can query the data in the table. When modifying data in a DataTable, you can also verify whether the changes are accurate, and determine whether to programmatically accept or reject the changes.

In This Section

  • Viewing Data in a Table
    Describes how to access the data in a row, including original and current versions of the data.
  • Editing Data in a Table
    Explains how to modify the data in a row, including suspending the changes to a row until the proposed changes are verified and accepted.
  • Working with DataTable Events
    Provides information about the events available for use with a DataTable, including events when column values are modified and rows are added or deleted.

See Also

Other Resources

Creating and Using DataTables