Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
Save the data into dataset from UltraGrid Layout
posted

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

Parents
  • 69832
    Offline posted

    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.

Reply Children