It should be something like this:
XDocument xdoc = XDocument.Load("fullfilepath.xml");
var qry = xdoc.Root
.Descendants("Subject")
.Select(n=> new
{
sub1 = n.Element("Subject1").Value,
sub2 = n.Element("Subject2").Value
}).ToList();
ListBox1.DataSource = qry;
Result:
sub1 sub2
Subject1a Subject1a
Subject2b Subject2b
For further information, please see:
XDocument.Load Method (String)[
^]
How to: Bind a Windows Forms ComboBox or ListBox Control to Data[
^]