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.

loading xml data set to a grid

Thread ID:

Created:

Updated:

Platform:

Replies:

15617 Jun 23,2004 09:36 AM Jun 23,2004 10:23 AM Windows Forms 1
loading
Tags: GridControl
Clario Menezes
Asked On June 23, 2004 09:36 AM

I have a data set stored in XML and would like to load it into a grid. What do you suggest is the best way to do this?

Administrator [Syncfusion]
Replied On June 23, 2004 10:23 AM

How is the XMl being generated? If it is from a DataSet.WriteXML, you could load the DataSet with a DataSet.ReadXML, and use it that way, setting the GridDataBoundGrid.DataSource property with the ADO.NET datasource. If you use .NET Framework''s XmlSerializer to serialize a grid.Model object, you can load that XML to create a grid.Model object. But the grid provides no direct support for loading arbitrary XML data. You would have to read the XML directly and populate the grid with it.

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.

;