Hi there
I have 5 XML files which I am loading into datasets using readxml
This is working fine.
However the last XML file contains things I dont want to appear in the combobox.
Any suggestions on what I should use to filter this data? Unfortunately I can't alter the XML file.
Thanks
Doug
I have 5 XML files which I am loading into datasets using readxml
VB.NET:
Dim xmlMainLocReader As New XmlTextReader(ImportFile & "\xmlMainLocation.xml")
Dim dMainLoc As DataSet = New DataSet
dMainLoc.ReadXml(ImportFile & "\xmlMainLocation.xml", XmlReadMode.InferSchema)
Me.cmbBCem.DataSource = dMainLoc.Tables(0)
Me.cmbBCem.DisplayMember = "Description"
Me.cmbBCem.ValueMember = "ID"
Me.cmbBCem.Text = ""
This is working fine.
However the last XML file contains things I dont want to appear in the combobox.
Any suggestions on what I should use to filter this data? Unfortunately I can't alter the XML file.
Thanks
Doug
Last edited by a moderator: