Table adapters are designed to be used with a dataset to help you retrieve data in and out of the database using this dataset.
The idea is that you can use Dataset.NewYourTableNameRow() to create a new row for your data set, then fill in its fields and then call DataSet.AddYourTableNameRow(row) to put it in the data set.
Now you can orderTableAdapter.update(DataSet) pass this new row to the database.
To delete or update a row, you must first select it in your dataset, modify the object, and then call .update (ds) in the corresponding table adapter to send it back.
source share