lothos12345 Posted November 1, 2005 Posted November 1, 2005 Is there a way to Select Distinct rows from an XML file in visual basic.Net? Quote
feurich Posted November 4, 2005 Posted November 4, 2005 Hi there there are severals ways to do that. one way is to load the xml file into an dataset. THen you can access every row or column tha way you would in a database. example: [csharp] DataSet YourDataSet = new DataSet(); dtsImportSet.ReadXml("yourXMLFile.xml"); cboBox.Items.Add(YourDataSet.Tables[0].Rows["columnName"].ToString()); [/csharp] Hope that helps. Quote Trust the Universe
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.