ObjectSharp Blogs

You are currently viewing

DataSet FAQ

The Place to Go for DataSets


Browse by Tags

Getting access to the Deleted Rows

If you Delete a row in a DataTable it's not really gone. It's just in a private buffer thing that hides the data out of the traditional Rows Collection and that works good for databinding and the like. The deleted rows are kept so when you do a DataAdapter.Update() Read More...

Using a DataAdapter to create transaction history

In some mission critical applications, it's important create a log or audit trail against updates made against a specific table. Sometimes this could be done with triggers if you have all the information available, or perhaps your updates are encapsulated Read More...

How can I improve the loading of my datasets?

Datasets maintain some internal indexes to improve performs for things like finds and selects. When you are loading more than 1 row into a DataTable - with a DataAdapter.Fill or other technique, you can turn this index maintenance off by doing a MyTable.BeginLoadData() Read More...