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.

Essential Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

7051 Sep 10,2003 12:59 PM Sep 11,2003 07:08 AM Windows Forms 2
loading
Tags: GridControl
Sean Wilkins
Asked On September 10, 2003 12:59 PM

I have a datasource that I am connection my databoundgrid to and then save a disconeccted recordset to a xml file due to the DB being offsite. I have a clone in memory that I want to manipulate, sort and filter and then pass over to a report - in the manipulated format, of course. Can one save a view from the datagrid back to a dataset that has been manipluated back to am xml file as described above? If so, on what event would be best suited for this procedure. CurrentCellChanged would seem like a good start to me!

Administrator [Syncfusion]
Replied On September 10, 2003 03:23 PM

Filtering and sorting the data in a Datatable does not change the DataTable. Instead, some DataView object (usually the DataTable.DefaultView) is modified to reflect the filtering and sorting. The DataTable remains unchanged as the result of a filter and sort. So, I do not know of a way to 'just save' the DataTable in any to that would actually save the table as reflected by a DataView. The DataSet.WriteXML will not persist any dataview information. So, I think you would have to explicitly write the XML file yourself.

Sean Wilkins
Replied On September 11, 2003 07:08 AM

I thought not, but I needed a confirmation. Thanks Clay!

CONFIRMATION

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.

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.

;