|117118||Aug 15,2014 05:10 PM||Aug 18,2014 09:04 AM||WPF||1|
Using Microsoft DATAGRID i can display the following by adding a Column to the Grid (Binding the column with XPath =@NAME )
So how do I do this with the SyncFusion GridDataControl
Thank you for contacting Syncfusion Support.
We analyzed your query. We regret to inform you that currently we don’t have a support for bind the XML file directly to GridDataControl as a ItemSource. You can achieve your requirement by using DataTable we read the XML file and save into DataTable and set the DataTable as a ItemSource to GridDataControl.
Please refer the below code snippet and sample in the following location:
DataSet ds = new DataSet();
DataTable dt0 = new DataTable();
dt0 = ds.Tables;
this.datagrid.ItemsSource = ds.Tables;
Farjana Parveen A
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.