Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
04-25-2011, 11:17 PM #1
- Join Date
- Feb 2011
- Thanked 0 Times in 0 Posts
Can anyone explain what this small piece of code does?
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