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. Image for the cookie policy date

GridGroupingControl

How to bind XML document (file) to GridGroupingControl?

1 Reply

HA haneefm Syncfusion Team October 19, 2007 06:42 PM UTC

Hi Iliya,

We do not have direct support for binding the XML document to GroupingGrid. So, You need to create the dataset from your xml document and bind this dataset to the GroupingGrid. Below are the codes:

DataSet ds = new DataSet();
ds.ReadXml("DocName.xml");

this.m_grid.DataSource = ds.Tables[0] ;

Best regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon