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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Copy data from gridgrouping to datatable

Thread ID:





31184 Jul 1,2005 08:20 AM UTC Jul 1,2005 09:36 AM UTC WinForms 1
Tags: GridControl
Anna Srinivasan
Asked On July 1, 2005 08:20 AM UTC

Hi, How do i copy data from gridGrouping control to datatable? Thanks, Anna

Administrator [Syncfusion]
Replied On July 1, 2005 09:36 AM UTC

What is the DataSource of your GroupingGrid? If it is a DataTable, then you can use DataTable.Copy to copy the data in the grid to another DataTable. If it is an ArrayList of strongly typed objects, then 1) Create a DataTable 2) Add DataColumns (one for each public property in your typed object) to the DataTable.Columns collection 3) Loop through your ArrayList, setting the value of each object into the DataTable.Rows in the coressponding columns.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon