ObjectSharp

The leading provider of Developer Services in Canada for the Microsoft .NET Platform.
Welcome to ObjectSharp Sign in | Join | Help
in Search

Browse by Tags

All Tags » Database Access   (RSS)
  • 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() it knows which rows you wanted to delete in the persistent store. So what if ...
    Posted to DataSet FAQ (Weblog) by datasetfaq on June 9, 2004
  • 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 inside of stored procedures so you can add central ...
    Posted to DataSet FAQ (Weblog) by datasetfaq on May 20, 2004
  • 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() Where MyTable is the reference to your DataTable, which could be ...
    Posted to DataSet FAQ (Weblog) by datasetfaq on April 18, 2004