Hi, everyone,
Now I use a WinGrid to display data, the data is stored in a DataTable, and I register the
ultraDataSource1.CellDataRequested event, when this event is fired, I get data from the
DataTable, like below:
{if (e.Row.Band.Key == "RootBand" && e.Row.Index < _datatable.Rows.Count)
e.Data = _datatable.Rows[e.Row.Index][0];
break;}
}
now my question is: the user may make multiple changes from the UI(the WinGrid), and he/she wants to apply the changes
at one time, and there is a indicator to indicate that some changes have been made, but the user
has not applied it yet, anyone knows how to achieve this? Any help would be appreciated.
Thanks in advance.
Mike reminds me of that ALICE bot in that reply. :-P
Would the information at this link be helpful to you? It has information about getting the changed rows from a DataTable.
Hi, Mike and Torrey,
Thanks for your reply.
You know that I use the winGrid to display data, and the user can modify the data directly from the cells.
if the user edits the cells' data, there will be a indicator indicates that the data was changed, and I'd like to
use a button named "Apply changes", then if the users clicks this button, all changes were saved to the DataTable
or other DataSource.
Thank you very much!