"Ryan Liu" <ad********@online.sh.cnwrote in message
news:uO****************@TK2MSFTNGP05.phx.gbl...
Hi,
If a DataGrid.DataSource is an IList, not a DataTable, is there a way
similar to dt.AcceptChanges(), dt.RejectChanges()?
DataGrid.DataSource is not an IList; it takes an object which implements the
IListSource or IEnumerable interface ... it doesn't implement AcceptChanges
or Reject Changes methods ... but it really makes no difference; you
shouldn't need either since you can invoke either on the DataTable ... if I
understand your question properly ...