...

View Full Version : Can anyone explain what this small piece of code does?



NKeuxmuis
04-25-2011, 11:17 PM
Can anyone explain what is happening in the following code? I want to understand it fully so would like somebody to explain. I especially don't understand the "From client In xmlDS...<client>". I understand that the whole thing selects the client tags from an XML file. But what does each individual thing do?



Dim clients = From client In xmlDS...<client> _
Where client.<body_type>.Value Like "*" & lstBodyType.SelectedValue And _client.<sex>.Value Like "*" & lstSex.SelectedValue _
Select client



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum