We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to update the Child Row data in the GridDataBoundGrid while updating the DataSource?

The value is updated to the Grid (flat grid) when it is changed or when the records are updated in the DataSource, by default. But, in the nested table or child row, you need to update the child row records based on its value by refreshing the row range. To refresh the row range, the ListChanged event can be used. In this event, the row can be refreshed by using the RefreshRange method when the items are changed.



The following screenshot represents the Grid before updating:

The following screenshot represents the Grid after updating:

Sample Links:

CS: Updating_Child_Records_CS

VB: Updating_Child_Records_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
4767 05/05/2015 05/05/2015 Windows Forms GridDataBoundGrid(Classic)
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.