for this I wrote the following code but it shows the empty.
can anybody help me in this.
my code:
C#:
XElement xmlNews = XElement.Parse(e.Result.ToString());
ColumnSeries series = new ColumnSeries();
series.SetBinding(ColumnSeries.ItemsSourceProperty, new Binding());
series.ItemsSource = from item in xmlNews.Descendants("SyllabusDetails")
select new Institute
{
Adress = item.Element("SubjectName").Value,
year = item.Element("ResultedMarks").Value
};
XAML:
Tony SolisPosted Oct 10, 2014, 12:08 AM