|
|
Browse by Tags
All Tags » Database Access (RSS)
-
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 ...
-
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 ...
-
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 ...
|
|
|