Hi,
I want to save/get the data from UltraWinGrid. Whatever the data i modified in the UltraWinGrid and the same needs to be updated into data set. Finally the updated data result will be needed into dataset.
Reply please.
Thanks, Prathap
You can do this by iterating the Rows collection and accessing the cell values for each column, and assigning the values to the corresponding cells in the DataRows of the DataTable. The bigger question is why you think you need to do this, when the grid handles all that stuff without any intervention required on your part. There is an UpdateMode property exposed by the control which provides a way for you to specify when this happens, i.e., when a cell or row is left, when the control loses focus, etc. One of the supported settings is 'OnUpdate', which defers updating the underlying data until the Update method is called. If there is more to this please repost with additional details.
This method is so cumbersome and dumb.
Cant I just call any method of the UltraGrid and pass the range or UltraGridRow collection and have them added in the grid?
I have two forms which has a UltraGrid each.
What I need to do is to copy the selected rows from Grid2 on Form2 back to Grid1 on Form 1.
I am able to get the selected rows from grid2 to form1 but how do I add them to Grid 1.
The table schema for both grids is same.
Please help out.