private void CommitChanges(DataSet ds) { foreach (DataTable dt in ds.Tables) { foreach (DataRow dr in ds.Tables) { dr.EndEdit(); } } }why not do this when I create the table:
dt.ColumnChanged += new DataColumnChangeEventHandler(dt_ColumnChanged);
then in the event do this:void dt_ColumnChanged(object sender, DataColumnChangeEventArgs e){ e.Row.EndEdit();}
This would fire each time the user changes a bound item on a form, wouldn't it? If so, them I'm assured that the table's rowstate