Hi David,
DataTable itself doen't have a dirty property.
Instead, every row has RowState property which marks the row state.
If you want to mark all rows as changed you might loop through all of them
and set one of the fields to the same value.
BTW, what are you trying to achieve?
--
Miha Markic - RightHand .NET consulting & development
miha at rthand com
"David Thielen" <da**@windward.net> wrote in message
news:02****************************@phx.gbl...
Hi;
How can I mark a DataTable as dirty (has changes)? I need
to do this because when I add a DataColumn to a
DataTable, it does not set HasChanges() to true.
thanks - dave