abc.xml file
?
in this i want to only three value :
name="KOSTENPLDomainDataSource"
name="KSTDRGERDomainDataSource"
name="PersneelDomainDataSource"
i am using this code
XElement xml = XElement.Load("dataset.xml");
XElement save = xml.Elements("root").All();
foreach (XElement element in save.Descendants("domaindatasource"))
{
cmbcolumn.Items.Add(element.FirstAttribute.Value);
}
Replies
Know the answer? Post it — somebody with the same question will find it here.