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

XML Data Binding Demo

Thread ID:





110745 Aug 23,2013 02:20 AM UTC Dec 17,2013 08:29 AM UTC WPF 3
Tags: GridControl
Pierre Gilbert
Asked On August 23, 2013 02:20 AM UTC

Hello, could you please advise where I can find an XML Data Binding Demo for your GridData Control.


Thanks in advance,

Shakul Hameed M [Syncfusion]
Replied On November 25, 2013 02:09 PM UTC

Hi Pierre,


Thanks for using Syncfusion products.


We have analyzed your query and you can bind XML to GridDataContorl using datatable as in the below code snippet,


Code snippet:


        <XmlDataProvider x:Name="MyXMlData" x:Key="MyKey" Source="MyXml.xml" Path="users/user" />       



<syncfusion:GridDataControl x:Name="MyGrid" AllowEdit="True"  ColumnSizer="AutoOnLoad" >



DataSet dataSet = new DataSet();


DataTable datatable = dataSet.Tables[0];

DataView dataView = new DataView(dataSet.Tables[0]);

MyGrid.ItemsSource = datatable;


We have created the sample regarding this and you can find the sample from the below location.

Location: XML_Binding_SYNCGrid.zip


Please let us know, if you have any query.



Shakul hameed

Pierre Gilbert
Replied On December 13, 2013 03:40 PM UTC

Thanks this answer my question.

Shakul Hameed M [Syncfusion]
Replied On December 17, 2013 08:29 AM UTC

Hi Pierre ,


Thanks for your update.

Please get back to us, if you need further assistance,



Shakul Hameed


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

or the page will be automatically redirected to 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