>
>I have a DataSet that I want to save to a different source than it was retrieved. I need to set the HasChanges to true even though it wasn't modified in order to complete my save. Anybody know how I can do that?>
>I usually make a fake change:
>
>
>ds.Tables[0].Rows[0][0] = ds.Tables[0].Rows[0][0];
>ds.Tables[0].Rows[0].EndEdit(); // may or may not be necessary, do it anyway
>
>
>~~Bonnie
You could be in trouble there if Tables[0] has no rows :-}
But anyway, by definition, all of the other Rows in all of the other Tables will still be 'Unchanged'. I think Tim needs to explain what he expects to happen to this data in relation to the new destination - won't the rowstate for each row have to depend on whether that row exists in the new destination?